summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Duthil2017-07-31 20:09:34 -0400
committerSebastien Duthil2017-07-31 20:09:34 -0400
commit3755a8aea935447af53fe516642d938ce59cf7eb (patch)
tree37579df0ed45512447bfb6586c280b6469c1bbd5
parent6542abb95f45f317b697ea14b30986e6b04cf5f0 (diff)
downloadaur-3755a8aea935447af53fe516642d938ce59cf7eb.tar.gz
simplify package()
-rw-r--r--PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fccbca21f9f..4b8a2e7dd1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,16 +26,8 @@ check() {
package() {
cd "$srcdir/$pkgname-$pkgver"-*
- install -d "$pkgdir/usr/bin"
- install -d "$pkgdir/usr/share/licences/$pkgname"
- install -d "$pkgdir/usr/share/doc/$pkgname"
- install -d "$pkgdir/usr/share/man/man6"
- install -m755 advent "$pkgdir/usr/bin"
- install -m644 COPYING "$pkgdir/usr/share/licences/$pkgname"
- install -m644 NEWS "$pkgdir/usr/share/doc/$pkgname"
- install -m644 hints.adoc "$pkgdir/usr/share/doc/$pkgname"
- install -m644 history.adoc "$pkgdir/usr/share/doc/$pkgname"
- install -m644 README.adoc "$pkgdir/usr/share/doc/$pkgname"
- install -m644 notes.adoc "$pkgdir/usr/share/doc/$pkgname"
- install -m644 advent.6 "$pkgdir/usr/share/man/man6"
+ install -Dm755 advent "$pkgdir/usr/bin/advent"
+ install -Dm644 COPYING "$pkgdir/usr/share/licences/$pkgname/COPYING"
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" NEWS hints.adoc history.adoc README.adoc notes.adoc
+ install -Dm644 advent.6 "$pkgdir/usr/share/man/man6/advent.6"
}