summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Honeyman2016-02-25 18:36:30 +0000
committerSteven Honeyman2016-02-25 18:36:30 +0000
commit3d4b034d39ed96dd5a0bad494cc21c0c836d8ec1 (patch)
tree3fed6a885a3a87ee84a928f9c9d28f4ea17b66b5
parentaae47ee53894cf12fc718ce825fba5dde323eb72 (diff)
downloadaur-3d4b034d39ed96dd5a0bad494cc21c0c836d8ec1.tar.gz
Make PKGBUILD compliant with sbin-less structure
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7d8a391cd10d..7bf9f0e26c95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Thu Feb 25 18:35:34 UTC 2016
pkgbase = pcspk
pkgdesc = A set of command line applications for using the PC speaker
pkgver = 0.0.6
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/przemoc/pcspk
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1bd414f4cef0..5e5940935920 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=pcspk
pkgver=0.0.6
-pkgrel=2
+pkgrel=3
pkgdesc="A set of command line applications for using the PC speaker"
arch=('i686' 'x86_64')
url="https://github.com/przemoc/pcspk"
@@ -14,11 +14,13 @@ md5sums=('41b4e81c3c6c56e6171b746049a688a1')
build() {
cd $pkgname-$pkgver
- make
+ ETCDIR=/etc make
}
package() {
cd $pkgname-$pkgver
- mkdir -p $pkgdir/usr/{s,}bin
- make PREFIX=$pkgdir/usr install
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/doc/pcspk"
+ make PREFIX="$pkgdir/usr" SBINDIR="$pkgdir/usr/bin" install
+ install -Dm644 README "$pkgdir/usr/share/doc/pcspk/"
} \ No newline at end of file