summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorengarenar2019-07-20 15:57:11 +0200
committerJorengarenar2019-07-20 15:57:11 +0200
commit5c2882a5092b10ab7ba36382fbe237746e9da7b0 (patch)
treeeeb50c6e164b7a0cee5a1bf80327a1c82f24b302
parentf80cefc0cd3b5422955bf8adfcf74724b1eca72b (diff)
downloadaur-5c2882a5092b10ab7ba36382fbe237746e9da7b0.tar.gz
Little script to launch
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7c6acfdf537..e29cd0a0e69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,9 +13,10 @@ sha512sums=(SKIP)
package() {
cd "$srcdir/$pkgname/src"
- mkdir -p "${pkgdir}/usr/share"
- cp -r cssbeautifier "${pkgdir}/usr/share"
- install -Dm755 $pkgname "${pkgdir}/usr/share"
+ mkdir -p "${pkgdir}/usr/share/${pkgname}"
+ cp -r cssbeautifier "${pkgdir}/usr/share/${pkgname}"
+ install -Dm755 $pkgname "${pkgdir}/usr/share/${pkgname}"
mkdir -p "${pkgdir}/usr/bin"
- ln -sf "${pkgdir}/usr/share/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ cd "$srcdir/$pkgname"
+ install -Dm755 $pkgname "${pkgdir}/usr/bin"
}