diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-26 03:35:58 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-26 03:35:58 +0000 |
commit | 3f23b6bf0b09b0edd47e2c763b3be136bc2fe274 (patch) | |
tree | 3be88fe725fc529471a0a3ca5af4b509e2ff88b1 /community/dmenu | |
parent | 58e4d57ed9a8604dff646ccdfee54f9019ca5d13 (diff) |
Wed Feb 26 03:32:51 UTC 2014
Diffstat (limited to 'community/dmenu')
-rw-r--r-- | community/dmenu/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/community/dmenu/PKGBUILD b/community/dmenu/PKGBUILD index 9a45dd17f..8f4f34194 100644 --- a/community/dmenu/PKGBUILD +++ b/community/dmenu/PKGBUILD @@ -1,30 +1,36 @@ -# $Id: PKGBUILD 69620 2012-04-20 14:11:11Z bpiotrowski $ +# $Id: PKGBUILD 106204 2014-02-25 11:21:42Z bpiotrowski $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Thayer Williams <thayer@archlinux.org> # Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> pkgname=dmenu -pkgver=4.5 -pkgrel=3 +pkgver=4.5.13.5ed5e90 +pkgrel=1 pkgdesc="A generic menu for X" url="http://tools.suckless.org/dmenu/" arch=('i686' 'x86_64') license=('MIT') depends=('sh' 'libxinerama') -source=(http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz) -md5sums=('9c46169ed703732ec52ed946c27d84b4') +makedepends=('git') +source=(git://git.suckless.org/dmenu#commit=5ed5e90bf) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + echo 4.5.$(git rev-list 7f45b3f7a..@ --count).$(git rev-parse --short HEAD) +} build(){ - cd $srcdir/$pkgname-$pkgver + cd $pkgname make \ X11INC=/usr/include/X11 \ X11LIB=/usr/lib/X11 } package() { - cd $srcdir/$pkgname-$pkgver - make PREFIX=/usr DESTDIR=$pkgdir install - install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + cd $pkgname + make PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |