aboutsummaryrefslogtreecommitdiffstats
path: root/main/dmenu/APKBUILD
blob: bedbdae0bfaab45841944140491332c9fa7cdfb0 (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
31
32
33
34
35
36
37
38
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=dmenu
pkgver=4.5
pkgrel=0
pkgdesc="Dynamic menu for X"
url="http://tools.suckless.org/dmenu/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev libxinerama-dev libxft-dev"
install=""
subpackages="$pkgname-doc"
source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
	http://tools.suckless.org/$pkgname/patches/$pkgname-$pkgver-xft-debian.diff"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	patch -p1 -i "$srcdir"/$pkgname-$pkgver-xft-debian.diff
}

build() {
	cd "$_builddir"
	make
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir PREFIX=/usr install
}

md5sums="9c46169ed703732ec52ed946c27d84b4  dmenu-4.5.tar.gz
0c73d595eb78f159bea83f33bba15e80  dmenu-4.5-xft-debian.diff"
sha256sums="082cd698d82125ca0b3989006fb84ac4675c2a5585bf5bb8af0ea09cfb95a850  dmenu-4.5.tar.gz
da72bb93d2aa06139bbb53826c50285e754543c19e7945a7f30de4d3b43425b1  dmenu-4.5-xft-debian.diff"
sha512sums="872dee68c35a93c663eb0a941653eaaa4aa83d8379e05b4dbca089a2c9335036b496de85d8ddf7af1228a5625490a06a89031fb1aac726236b608b952962c248  dmenu-4.5.tar.gz
759c6a3a46479e7bd47d208fcc7ee76622ebd79f82ecf4fe8120af17a2fcb295009da8687acc4c348072bec8cc5639dfaee01d4bcae5c6e979c85f33c9f4a45f  dmenu-4.5-xft-debian.diff"