diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -1,17 +1,18 @@ # Maintainer: Daniel Souza <aur at posix dot dev dot br> +_pkgname="yarr" +_outdir="_output/linux" pkgname=yarr-git -_pkgname=yarr pkgver=v2.3.r27.g91da774 -pkgrel=3 +pkgrel=4 pkgdesc="yet another rss reader." -arch=('i686' 'x86_64') -url='https://github.com/nkanaev/yarr' -license=('MIT') -source=('git+https://github.com/nkanaev/yarr') +arch=("any") +url="https://github.com/nkanaev/yarr" +license=("MIT") +source=("git+https://github.com/nkanaev/yarr") depends=() -makedepends=('go' 'make' 'git') -sha1sums=('SKIP') +makedepends=("go" "make" "git") +sha1sums=("SKIP") pkgver() { cd "$srcdir/$_pkgname" @@ -28,5 +29,6 @@ build(){ package() { cd "$_pkgname" - install -Dm755 '_output/linux/yarr' "$pkgdir/usr/bin/yarr" + install -Dm755 "${_outdir}/yarr" "$pkgdir/usr/bin/yarr" + install -Dm0644 license "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" } |