diff options
author | Ainola | 2018-09-02 17:42:58 -0600 |
---|---|---|
committer | Ainola | 2018-09-02 17:42:58 -0600 |
commit | dd317a56f79de033a458434869f6b918dfa8ccbf (patch) | |
tree | 5b2b02f30d4ce8f8195376bd4e2a84b492241191 | |
parent | 60879ebeb2ef5d9cb942024ed767b1cbc08d59ef (diff) | |
download | aur-dd317a56f79de033a458434869f6b918dfa8ccbf.tar.gz |
PKGBUILD improvements
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 9 deletions
@@ -1,3 +1,5 @@ +# Generated by mksrcinfo v8 +# Sun Sep 2 23:41:28 UTC 2018 pkgbase = hib-dlagent pkgdesc = Tool to download Humble Indie Bundle binaries by file name pkgver = 0.7 @@ -5,6 +7,7 @@ pkgbase = hib-dlagent url = https://github.com/hagabaka/hib-dlagent arch = any license = GPL2 + depends = bash depends = curl depends = python-humblebundle optdepends = gnome-keyring-query: encrypted account password support @@ -1,26 +1,28 @@ -# Contributor: Eric Anderson <ejona86@gmail.com> -# Maintainer: Florian Bruhin <archlinux.org@the-compiler.org> +# Maintainer: Ainola +# Contributor: Florian Bruhin +# Contributor: Eric Anderson pkgname=hib-dlagent pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc='Tool to download Humble Indie Bundle binaries by file name' arch=('any') url='https://github.com/hagabaka/hib-dlagent' license=('GPL2') -depends=('curl' 'python-humblebundle') +depends=('bash' 'curl' 'python-humblebundle') optdepends=('gnome-keyring-query: encrypted account password support') -source=("$pkgname-$pkgver.tar.gz::https://github.com/hagabaka/hib-dlagent/archive/${pkgver}.tar.gz" +source=("$pkgname-$pkgver.tar.gz::https://github.com/hagabaka/hib-dlagent/archive/$pkgver.tar.gz" "none-url.patch::https://github.com/hagabaka/hib-dlagent/commit/f4c40f6d02094f9ecb46d956265977284e8f3acb.patch") sha256sums=('2b6aa4e98e8e525a821843de4df5db890882eb8d20c09d7b30639e4c747ddc4e' '3598dc291cb249cffb522b914de162218776f24f9f470a37dd472d7d74987127') prepare() { - cd "$srcdir/${pkgname}-${pkgver}" - patch -p1 < "$srcdir/none-url.patch" + patch -d "$pkgname-$pkgver" -p1 < none-url.patch } package() { - cd "$srcdir/${pkgname}-${pkgver}" - DEST="$pkgdir" ./install.sh + cd "$pkgname-$pkgver" + install -Dm644 README -t "$pkgdir/usr/share/doc/hib-dlagent/" + install -Dm755 hib-dlagent -t "$pkgdir/usr/bin/" + install -Dm755 discover-url.py -t "$pkgdir/usr/share/hib-dlagent/" } |