diff options
author | Felix Yan | 2018-06-03 02:50:20 +0800 |
---|---|---|
committer | Felix Yan | 2018-06-03 02:50:20 +0800 |
commit | 0dad5ed6639ce7293a75145225ab77d3bf5d7eea (patch) | |
tree | 09c7085c73f3e47abfcf4f95b26033336dd42795 | |
parent | 936872923edec6e4b4fa2f6f238836a6df378cc3 (diff) | |
download | aur-0dad5ed6639ce7293a75145225ab77d3bf5d7eea.tar.gz |
update license info
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 7 deletions
@@ -1,12 +1,12 @@ # Generated by mksrcinfo v8 -# Tue May 29 14:31:52 UTC 2018 +# Sat Jun 2 18:50:08 UTC 2018 pkgbase = chnroutes2-git pkgdesc = Better aggregated chnroutes - pkgver = 0.6.7a131eb + pkgver = 0.8.6be8bb5 pkgrel = 1 url = https://github.com/ym/chnroutes2 arch = any - license = unknown + license = custom:WTFPL makedepends = git source = git+https://github.com/ym/chnroutes2.git md5sums = SKIP @@ -2,24 +2,26 @@ _pkgname=chnroutes2 pkgname=$_pkgname-git -pkgver=0.6.7a131eb +pkgver=0.8.6be8bb5 pkgrel=1 pkgdesc="Better aggregated chnroutes" arch=('any') url="https://github.com/ym/chnroutes2" -license=('unknown') +license=('custom:WTFPL') depends=() makedepends=('git') source=("git+https://github.com/ym/${_pkgname}.git") md5sums=('SKIP') pkgver() { - cd "$srcdir/$_pkgname" + cd $_pkgname echo 0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { - install -Dm644 "$srcdir"/$_pkgname/chnroutes.txt "$pkgdir"/usr/share/chnroutes2/chnroutes.txt + cd $_pkgname + install -Dm644 chnroutes.txt "$pkgdir"/usr/share/chnroutes2/chnroutes.txt + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: |