diff options
author | Dct Mei | 2020-04-07 21:37:44 +0800 |
---|---|---|
committer | Dct Mei | 2020-04-07 21:37:44 +0800 |
commit | 5dbed629bd521e28041dd0da09b0b41bb14b1dfa (patch) | |
tree | 319a012abb8aed5d09f23dcbc634536bc42f2a9c | |
parent | fb5df44c2dacd3e1fea5fcca05cac29350fb856e (diff) | |
download | aur-5dbed629bd521e28041dd0da09b0b41bb14b1dfa.tar.gz |
Add LICENSE
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = geph-client pkgdesc = A command-line Geph client pkgver = 0.20.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/geph-official/geph2 arch = x86_64 groups = geph2 @@ -2,7 +2,7 @@ pkgname=geph-client pkgver=0.20.2 -pkgrel=1 +pkgrel=2 pkgdesc='A command-line Geph client' arch=('x86_64') url="https://github.com/geph-official/geph2" @@ -21,10 +21,12 @@ build() { } package() { - cd "geph2-$pkgver/cmd/$pkgname" + install -Dm 644 "$srcdir/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + cd "geph2-$pkgver/cmd/$pkgname/" install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname" - install -d "$pkgdir/etc/geph2" + install -d "$pkgdir/etc/geph2/" "$pkgdir/usr/bin/$pkgname" -dumpflags > "$pkgdir/etc/geph2/$pkgname.ini" install -Dm 644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" |