diff options
author | copycat-killer | 2017-02-02 11:31:44 +0100 |
---|---|---|
committer | copycat-killer | 2017-02-02 11:31:44 +0100 |
commit | b278f12493226643a1be09ada28383adb8c4f7fc (patch) | |
tree | 2bf88fccd96931d92c2c67a1313a4ea4f5d84d01 /PKGBUILD | |
parent | 736df092e2825a203250350ccf86f69af846d565 (diff) | |
download | aur-b278f12493226643a1be09ada28383adb8c4f7fc.tar.gz |
updated PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ pkgname=lain-git pkgcom=1531 pkgsha=a1ba902 pkgver=$pkgcom.$pkgsha -pkgrel=1 +pkgrel=2 pkgdesc="Layouts, asynchronous widgets and utilities for Awesome WM" arch=('any') url="https://github.com/copycat-killer/lain" @@ -18,8 +18,8 @@ source=("git://github.com/copycat-killer/lain.git") md5sums=('SKIP') package() { - aw=$(which awesome | grep local) # check if awesome is stable or git - if [ -z ${#aw} ]; then + # check if awesome is stable or git + if [ -d "/usr/share/awesome/lib/"]; then aw_path="$pkgdir/usr/share/awesome/lib" else aw_path="$pkgdir/usr/local/share/awesome/lib" @@ -30,6 +30,6 @@ package() { rm -rf lain/{wiki,.git*,*.rockspec,*TEMPLATE*} cp -a lain $aw_path - # Fix permissions + # fix scripts permissions find "$pkgdir" -type f ! -path "*/scripts/*" -print0 | xargs -0 chmod -R 644 } |