diff options
author | Vinson Chuong | 2016-01-18 13:04:31 -0800 |
---|---|---|
committer | Vinson Chuong | 2016-01-18 13:04:31 -0800 |
commit | 8e98202435daad9f48c7e3ed99504b054a0492b6 (patch) | |
tree | 20627e8f66c8663f3d48a722fd21e9577227e100 | |
parent | 0b967f7ff49d665fa605ad537c08dab9a376fd96 (diff) | |
download | aur-8e98202435daad9f48c7e3ed99504b054a0492b6.tar.gz |
v0.1.8-1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 8 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Jan 4 21:09:18 UTC 2016 +# Mon Jan 18 21:04:31 UTC 2016 pkgbase = gitaur pkgdesc = A set of command-line scripts that automate common tasks in maintaining AUR packages on GitHub - pkgver = 0.1.7 + pkgver = 0.1.8 pkgrel = 1 url = https://github.com/vinsonchuong/gitaur arch = any @@ -15,8 +15,8 @@ pkgbase = gitaur depends = namcap depends = ninka depends = pkgbuild-introspection - source = https://github.com/vinsonchuong/gitaur/archive/v0.1.7-1.tar.gz - md5sums = 91ed16725717d1d9231519c85011c9b6 + source = https://github.com/vinsonchuong/gitaur/archive/v0.1.8-1.tar.gz + md5sums = 28642814d4e413fb35776ea43b6deb64 pkgname = gitaur @@ -1,6 +1,6 @@ # Maintainer: Vinson Chuong <vinsonchuong@gmail.com> pkgname=gitaur -pkgver=0.1.7 +pkgver=0.1.8 pkgrel=1 pkgdesc=A\ set\ of\ command-line\ scripts\ that\ automate\ common\ tasks\ in\ maintaining\ AUR\ packages\ on\ GitHub arch=(any) @@ -16,8 +16,8 @@ depends=( pkgbuild-introspection ) makedepends=(clidoc) -source=(https://github.com/vinsonchuong/gitaur/archive/v0.1.7-1.tar.gz) -md5sums=('91ed16725717d1d9231519c85011c9b6') +source=(https://github.com/vinsonchuong/gitaur/archive/v0.1.8-1.tar.gz) +md5sums=('28642814d4e413fb35776ea43b6deb64') build () { cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"; @@ -27,7 +27,12 @@ package () { cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"; [[ -d 'bin' ]] && install -Dm755 -t "${pkgdir}/usr/bin" bin/*; - [[ -d 'lib' ]] && install -Dm755 -t "${pkgdir}/usr/lib/${pkgname}" lib/*; + if [[ -d 'lib' ]]; then + for file in $(find 'lib' -type 'f'); + do + install -D -m "$(stat -c '%a' "$file")" "$file" "${pkgdir}/usr/lib/${pkgname}/${file#'lib/'}"; + done; + fi; [[ -d 'help' ]] && install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/help" help/*; [[ -f 'README.md' ]] && install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md'; [[ -d 'doc' ]] && install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/doc" doc/*.md; |