summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTeteros2017-11-26 18:25:13 +0000
committerTeteros2017-11-26 18:27:58 +0000
commit1c40fccb964ba2c05aebbea72eed51823de169ec (patch)
tree650d23e1e60cea310f42505cf48afc00d4eeb0bc /PKGBUILD
parent7236bb782fb8c215f9882a998dbebd948ca33d84 (diff)
downloadaur-sporth-git.tar.gz
syntax upd
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a5215c344d3..9d68a0df9d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,8 +39,9 @@ build() {
package() {
cd "$_pkgname"
- mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/include" "$pkgdir/usr/lib" "$pkgdir/usr/share/doc"
+ install -dm755 "$pkgdir/usr/"{bin,include,lib}
make install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- cp -rp examples "$pkgdir/usr/share/doc/$pkgname"
+ install -dm755 "$pkgdir/usr/share/doc"
+ cp -a examples "$pkgdir/usr/share/doc/$pkgname"
}