summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 20 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 874d1e0ce75..26e9ce176df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,40 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Woody Gilk aka Shadowhand <woody.gilk@gmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Richard Gill <richard@houbathecat.fr>
pkgname=gmrun-xdg
+_pkgname=gmrun
pkgver=0.9.2
-pkgrel=4
+pkgrel=5
pkgdesc="A simple program which provides a run program window (XDG aware)"
arch=('i686' 'x86_64')
url="http://sf.net/projects/gmrun"
license=('GPL')
-conflicts='gmrun'
-replaces='gmrun'
+conflicts=(${_pkgname})
+replaces=(${_pkgname})
depends=('gtk2' 'popt')
-source=(http://downloads.sourceforge.net/gmrun/gmrun-$pkgver.tar.gz
- gcc43.patch gmrun-$pkgver-xdg.patch)
+source=(http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
+ gcc43.patch
+ ${_pkgname}-${pkgver}-xdg.patch)
md5sums=('6cef37a968006d9496fc56a7099c603c'
'3a0b69d8c2cac6cfb551b9d235441ecb'
'ffe92ec406269b94dd4d23e41488c04d')
-build() {
- cd "${srcdir}/gmrun-${pkgver}"
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ patch -p0 -i ../gcc43.patch
+ patch -Np1 -i ../${_pkgname}-${pkgver}-xdg.patch
+}
- patch -p0 -i "$srcdir/gcc43.patch"
- patch -Np1 -i "$srcdir/gmrun-$pkgver-xdg.patch"
- ./configure --prefix=/usr
- make
+build() {
+ cd ${_pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make V=0
}
package() {
- cd "${srcdir}/gmrun-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
+ cd ${_pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}