summaryrefslogtreecommitdiff
path: root/community/dmenu/PKGBUILD
blob: 22286ce1078f5d4aed8bc175ef53b87d488ce26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 32958 2010-11-20 11:22:07Z ttopper $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>

pkgname=dmenu
pkgver=4.2.1
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")
source=("$pkgname-$pkgver.tar.gz::http://hg.suckless.org/dmenu/archive/tip.tar.gz")
md5sums=('48b1e63cbf0ae7993cc68d365412d5e5')

build(){
#  cd $srcdir/$pkgname-$pkgver
  cd `find $srcdir -type d -name dmenu-\*`
  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}

package() {
#  cd $srcdir/$pkgname-$pkgver
  cd `find $srcdir -type d -name dmenu-\*`
  make PREFIX=/usr DESTDIR=$pkgdir install
  install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}