summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-01 03:52:35 -0600
committerBrian Bidulock2015-06-10 05:48:44 -0600
commit77f22b7a76f06d5a384d2af28ae69f062030af83 (patch)
tree9e69f77d0a435550f73ef693dbd12b841344681c
parent2e4ea93ae1b3e2e09ed84035e603e993bd7aad44 (diff)
downloadaur-77f22b7a76f06d5a384d2af28ae69f062030af83.tar.gz
version 20150518-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD35
2 files changed, 20 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3dad68695c9..710aba797d7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,17 @@
pkgbase = goomwwm-git
pkgdesc = Get out of my way, Window Manager!
- pkgver = 1.0.0.73.g25c9a12
- pkgrel = 2
- epoch = 1
+ pkgver = 20150518
+ pkgrel = 1
url = http://github.com/seanpringle/goomwwm
arch = i686
arch = x86_64
license = MIT
makedepends = git
+ depends = libx11
depends = libxft
- depends = libxinerama
- optdepends = dmenu
+ depends = freetype2
provides = goomwwm
- conflicts = goomwwm
- source = goomwwm-git::git://github.com/seanpringle/goomwwm.git
+ source = git://github.com/seanpringle/goomwwm.git
md5sums = SKIP
pkgname = goomwwm-git
diff --git a/PKGBUILD b/PKGBUILD
index d63c407b99f..63d1aded925 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,35 @@
-# Maintainer: Brian Bidulock <bidulock@Openss7.org>
-# Contributor: Sean Pringle <sean.pringle@gmail.com>
+# Maintainer: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)
pkgname=goomwwm-git
-_pkgname=goomwwm
-pkgver=1.0.0.73.g25c9a12
-pkgrel=2
-epoch=1
+_gitname=goomwwm
+pkgver=20150518
+pkgrel=1
pkgdesc="Get out of my way, Window Manager!"
arch=('i686' 'x86_64')
url="http://github.com/seanpringle/goomwwm"
license=('MIT')
-depends=('libxft' 'libxinerama')
-optdepends=('dmenu')
+depends=('libx11' 'libxft' 'freetype2')
makedepends=('git')
-conflicts=($_pkgname)
-provides=($_pkgname)
-source=("$pkgname::git://github.com/seanpringle/goomwwm.git")
+provides=('goomwwm')
+source=("git://github.com/seanpringle/goomwwm.git")
md5sums=('SKIP')
pkgver() {
- cd "$pkgname"
- git describe --tags --long|sed 's,[-_],.,g'
+ cd "$_gitname"
+ git log -1 --format="%cd" --date=short | sed 's|-||g'
}
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$_gitname"
make
}
package() {
- 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"
+ 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"
}