diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 9 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Mon Dec 14 09:33:28 UTC 2015 pkgbase = aewm++ pkgdesc = A small window manager for X11 based originally off aewm pkgver = 1.0.1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/frankhale/aewmpp arch = i686 arch = x86_64 @@ -10,7 +12,7 @@ pkgbase = aewm++ makedepends = clang depends = libxext depends = gcc-libs - source = git://github.com/frankhale/aewmpp.git + source = aewm++::git://github.com/frankhale/aewmpp.git md5sums = SKIP pkgname = aewm++ @@ -2,31 +2,30 @@ pkgname=aewm++ pkgver=1.0.1 -pkgrel=3 +pkgrel=4 pkgdesc="A small window manager for X11 based originally off aewm" arch=('i686' 'x86_64') url="https://github.com/frankhale/aewmpp" license=('GPL3') depends=('libxext' 'gcc-libs') makedepends=('git' 'clang') -source=("git://github.com/frankhale/aewmpp.git") +source=("$pkgname::git://github.com/frankhale/aewmpp.git") md5sums=('SKIP') -_gitname="aewmpp" pkgver() { - cd $_gitname + cd $pkgname echo "1.0.`git show | grep ^commit | wc -l`" } prepare() { - cd $_gitname + cd $pkgname sed "/#define VERSION/s,xxx,$pkgver," -i aewm.h } build() { - cd $_gitname + cd $pkgname make ADDITIONAL_CFLAGS= INCLUDES= LDPATH= } package() { - cd $_gitname + cd $pkgname make DESTDIR="$pkgdir/" install } |