summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-01 03:59:32 -0600
committerBrian Bidulock2015-06-10 05:48:45 -0600
commit17776130b6f9fc8b32f9be3a4895dd04df60b1b0 (patch)
tree32ce41a604c8951b4401e4748fa9170223fc691d
parent77f22b7a76f06d5a384d2af28ae69f062030af83 (diff)
downloadaur-17776130b6f9fc8b32f9be3a4895dd04df60b1b0.tar.gz
version 1:1.0.0.73.g25c9a12-1
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD29
2 files changed, 21 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 710aba797d7..856787b2f3b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = goomwwm-git
pkgdesc = Get out of my way, Window Manager!
- pkgver = 20150518
+ pkgver = 1.0.0.73.g25c9a12
pkgrel = 1
+ epoch = 1
url = http://github.com/seanpringle/goomwwm
arch = i686
arch = x86_64
license = MIT
makedepends = git
- depends = libx11
depends = libxft
- depends = freetype2
+ depends = libxinerama
provides = goomwwm
- source = git://github.com/seanpringle/goomwwm.git
+ conflicts = goomwwm
+ source = goomwwm-git::git://github.com/seanpringle/goomwwm.git
md5sums = SKIP
pkgname = goomwwm-git
diff --git a/PKGBUILD b/PKGBUILD
index 63d1aded925..3171cee3f27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,37 @@
# Contributor: SanskritFritz (gmail)
pkgname=goomwwm-git
-_gitname=goomwwm
-pkgver=20150518
+_pkgname=goomwwm
+pkgver=1.0.0.73.g25c9a12
pkgrel=1
+epoch=1
pkgdesc="Get out of my way, Window Manager!"
arch=('i686' 'x86_64')
url="http://github.com/seanpringle/goomwwm"
license=('MIT')
-depends=('libx11' 'libxft' 'freetype2')
+depends=('libxft' 'libxinerama')
makedepends=('git')
-provides=('goomwwm')
-source=("git://github.com/seanpringle/goomwwm.git")
+conflicts=($_pkgname)
+provides=($_pkgname)
+source=("$pkgname::git://github.com/seanpringle/goomwwm.git")
md5sums=('SKIP')
pkgver() {
- cd "$_gitname"
- git log -1 --format="%cd" --date=short | sed 's|-||g'
+ cd "$pkgname"
+ git describe --tags --long|sed 's,[-_],.,g'
}
build() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$pkgname"
make
}
package() {
- cd "$srcdir/$_gitname"
- install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"
- install -Dm 644 "$_gitname.desktop" "$pkgdir/usr/share/xsessions/$_gitname.desktop"
- gzip -c "$_gitname.1" > "$_gitname.1.gz"
- install -Dm644 "$_gitname.1.gz" "$pkgdir/usr/share/man/man1/$_gitname.1.gz"
+ cd "$srcdir/$pkgname"
+ install -Dm 755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
+ install -Dm 644 "$_pkgname.desktop" "$pkgdir/usr/share/xsessions/$_pkgname.desktop"
+ gzip -c "$_pkgname.1" > "$_pkgname.1.gz"
+ install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}