1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Initial version.

This commit is contained in:
2018-04-27 13:32:58 +02:00
commit 1966a4d2b9
3 changed files with 38 additions and 0 deletions

15
.SRCINFO Normal file
View File

@@ -0,0 +1,15 @@
pkgbase = wayback_machine_downloader
pkgdesc = Downloader for pages in the Internet Archive
pkgver = 2.2.1
pkgrel = 1
url = https://github.com/hartator/wayback-machine-downloader
arch = any
license = MIT
depends = ruby
noextract = wayback_machine_downloader-2.2.1.gem
options = !emptydirs
source = https://rubygems.org/downloads/wayback_machine_downloader-2.2.1.gem
sha256sums = 623e5ef663930bb15f0dc46db21e33765a5f99b1f986a5308c4ad7ba2b0e6b8a
pkgname = wayback_machine_downloader

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD

19
PKGBUILD Normal file
View File

@@ -0,0 +1,19 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=wayback_machine_downloader
pkgver=2.2.1
pkgrel=1
pkgdesc='Downloader for pages in the Internet Archive'
arch=(any)
url='https://github.com/hartator/wayback-machine-downloader'
license=(MIT) # License file is missing since it's not properly packaged in the gem.
depends=(ruby)
source=(https://rubygems.org/downloads/$pkgname-$pkgver.gem)
noextract=($pkgname-$pkgver.gem)
sha256sums=('623e5ef663930bb15f0dc46db21e33765a5f99b1f986a5308c4ad7ba2b0e6b8a')
options=(!emptydirs)
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
}