summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 647902357dd..fcae7071e6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}