aboutsummaryrefslogtreecommitdiffstats
path: root/main/dzen/APKBUILD
blob: 6fb1ff0bdccd93a7e0d5daf4e627c4754b681b53 (plain) (blame)
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: Cág <ca6c@bitmessage.ch>
pkgname=dzen
_pkgver=488ab66
pkgver=0.9.5
pkgrel=3
pkgdesc="A general purpose messaging, notification and menuing program for X11"
url="https://github.com/robm/dzen"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev libxft-dev libxinerama-dev libxpm-dev"
options=""
install=""
subpackages="$pkgname-gadgets"
source="$pkgname-$pkgver.tar.gz::$url/tarball/$_pkgver 0001-Enable-Xinerama-and-XPM.patch"
builddir="$srcdir"/robm-$pkgname-$_pkgver

build() {
	cd "$builddir"
	make

	cd gadgets
	make
}

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

gadgets() {
	cd "$builddir/gadgets"
	make PREFIX=/usr DESTDIR="$subpkgdir" install
}

sha512sums="239acfcacbc871ded5755ee0d5cca3185fcd93142bcf81552974f2ffc19d9f5ebdc02956108931f58b35c68ac57ec6e748bdb9cdbf7791ec6e224ef270bda300  dzen-0.9.5.tar.gz
06cf3474926e7f2d612e36a96e10673a2d261a9a1dd9fec8c2382f1ceb9f1d203232980d73910723cd050d6d25c14ef2fae81b6413a58056a183fec1936cd73a  0001-Enable-Xinerama-and-XPM.patch"