summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcopycat-killer2017-02-02 11:31:44 +0100
committercopycat-killer2017-02-02 11:31:44 +0100
commitb278f12493226643a1be09ada28383adb8c4f7fc (patch)
tree2bf88fccd96931d92c2c67a1313a4ea4f5d84d01
parent736df092e2825a203250350ccf86f69af846d565 (diff)
downloadaur-b278f12493226643a1be09ada28383adb8c4f7fc.tar.gz
updated PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af79b993b8a6..a6aca48e8d3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Feb 1 20:58:48 UTC 2017
+# Thu Feb 2 10:31:34 UTC 2017
pkgbase = lain-git
pkgdesc = Layouts, asynchronous widgets and utilities for Awesome WM
pkgver = 1531.a1ba902
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/copycat-killer/lain
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 15eaf1c9544f..044415c713fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}