diff options
author | copycat-killer | 2015-08-05 14:21:16 +0200 |
---|---|---|
committer | copycat-killer | 2015-08-05 14:21:16 +0200 |
commit | e6e9aac634b4ce3162c8875d34410ef0d407b2db (patch) | |
tree | 6aa84045554d48e85baaccfe09ca0fbba6321cab /PKGBUILD | |
download | aur-e6e9aac634b4ce3162c8875d34410ef0d407b2db.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5da62b4f5d4d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: luke bonham <dada [at] archlinux [dot] info> + +pkgname=lain-git +pkgver=553.c9b11c5 +pkgrel=1 +pkgdesc="Layouts, Utilities and Widgets for Awesome WM (successor of vain-git)" +arch=('any') +url="https://github.com/copycat-killer/lain" +license=('GPL2') +depends=('awesome') +optdepends=('alsa-utils: for ALSA volume widgets' + 'curl: for widgets accessing network resources' + 'imagemagick: for mpd album art notifications') +makedepends=('git') +provides=('lain') +conflicts=('lain') +source=("git://github.com/copycat-killer/lain.git") +md5sums=('SKIP') + +pkgver() { + cd lain + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + install -dm755 "$pkgdir/usr/share/awesome/lib/lain" + rm -r lain/{wiki,.git*} + cp -a lain "$pkgdir/usr/share/awesome/lib/" + + # Fix permissions + find "$pkgdir" -type f ! -path "*/scripts/*" -print0 | xargs -0 chmod -R 644 +} |