aboutsummaryrefslogtreecommitdiffstats
path: root/community/dzen/APKBUILD
blob: 44e08e5728cdf53104a1fbd621ce19eedea02b13 (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
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=dzen
_pkgver=488ab66019f475e35e067646621827c18a879ba1
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"
makedepends="libx11-dev libxft-dev libxinerama-dev libxpm-dev"
subpackages="$pkgname-gadgets"
options="!check"  # no test suite
source="$pkgname-$_pkgver.tar.gz::$url/archive/$_pkgver.tar.gz
	0001-Enable-Xinerama-and-XPM.patch"
builddir="$srcdir/$pkgname-$_pkgver"

build() {
	make
	make -C gadgets
}

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

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

sha512sums="e750ab9c62dad311bf478d79c15ffdc1ef108fe2c3ed5df82316d879aad000bee785d304048f5daae237468f6fe018f14fc05d0114d68d873f766dbf1dfebbc9  dzen-488ab66019f475e35e067646621827c18a879ba1.tar.gz
06cf3474926e7f2d612e36a96e10673a2d261a9a1dd9fec8c2382f1ceb9f1d203232980d73910723cd050d6d25c14ef2fae81b6413a58056a183fec1936cd73a  0001-Enable-Xinerama-and-XPM.patch"