diff options
author | haawda | 2018-11-23 21:10:08 +0100 |
---|---|---|
committer | haawda | 2018-11-23 21:10:08 +0100 |
commit | 859160db023a87699c35fa173e05053d0379f5c0 (patch) | |
tree | 89eadd1467b7edba2ce322bf302b9fd65e152007 | |
parent | b23a4a17b1d7f9348cfad1762e4bfbe4c09bad3b (diff) | |
download | aur-859160db023a87699c35fa173e05053d0379f5c0.tar.gz |
PKGBUILD maintenance
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 10 insertions, 15 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Sat Dec 9 19:12:48 UTC 2017 pkgbase = sawfish-git pkgdesc = A window manager extensible using a Lisp-based scripting language. pkgver = 1.12.90.8.g93f35ecf - pkgrel = 1 + pkgrel = 2 url = http://sawfish.wikia.com arch = i686 arch = x86_64 @@ -14,9 +12,7 @@ pkgbase = sawfish-git depends = libsm depends = librep-git depends = rep-gtk-git - depends = hicolor-icon-theme depends = libxtst - depends = gtk2 optdepends = emacs: for using sawfish.el provides = sawfish=1.11 conflicts = sawfish @@ -3,12 +3,12 @@ pkgname=sawfish-git pkgver=1.12.90.8.g93f35ecf -pkgrel=1 +pkgrel=2 pkgdesc='A window manager extensible using a Lisp-based scripting language.' arch=('i686' 'x86_64') url='http://sawfish.wikia.com' license=('GPL') -depends=('libsm' 'librep-git' 'rep-gtk-git' 'hicolor-icon-theme' 'libxtst' 'gtk2') +depends=('libsm' 'librep-git' 'rep-gtk-git' 'libxtst') makedepends=('git' 'gettext' 'emacs') optdepends=('emacs: for using sawfish.el') provides=('sawfish=1.11') @@ -16,20 +16,19 @@ conflicts=('sawfish') source=('git://github.com/SawfishWM/sawfish.git' arch_poweroff_defaults.patch) options=('!libtool') sha1sums=('SKIP' '73dbf5f93c0124c11f0254267d662f86be1f2767') -_gitname=sawfish pkgver() { - cd "$_gitname" + cd ${pkgname%-git} git describe --tags|sed 's/-/./g'|cut -c9- } prepare() { - cd "$_gitname" + cd ${pkgname%-git} patch -p1 < "$srcdir"/arch_poweroff_defaults.patch } build() { - cd "$_gitname" + cd ${pkgname%-git} ./autogen.sh ./configure --prefix=/usr --with-nls make @@ -37,10 +36,10 @@ build() { } package() { - cd "$_gitname" + cd ${pkgname%-git} make DESTDIR="$pkgdir" install - install -Dm644 sawfish.el $pkgdir/usr/share/emacs/site-lisp/sawfish.el - install -Dm644 sawfish.elc $pkgdir/usr/share/emacs/site-lisp/sawfish.elc + install -Dm644 sawfish.el "$pkgdir"/usr/share/emacs/site-lisp/sawfish.el + install -Dm644 sawfish.elc "$pkgdir"/usr/share/emacs/site-lisp/sawfish.elc install -Dm644 lisp/sawfish/wm/tile/readme.org \ - $pkgdir/usr/share/doc/$pkgname/readme.tiling.org + "$pkgdir"/usr/share/doc/$pkgname/readme.tiling.org } |