aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xcmenu/APKBUILD
blob: 27c7ec8f17c4dbfe559671fa76d9353e9ce23e5d (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
39
40
41
42
43
44
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcmenu
pkgver=0.1.0
pkgrel=0
pkgdesc="Lightweight clipboard manager for X"
url="https://github.com/Cloudef/xcmenu"
arch="all"
license="WTFPL"
depends=""
depends_dev=""
makedepends="$depends_dev libxcb-dev zlib-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/Cloudef/xcmenu/archive/v$pkgver.tar.gz
	include-fcntl.patch"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make PREFIX=/usr
}

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

md5sums="928bbcbd8db964a5e6a2eb5f2a7baae3  xcmenu-0.1.0.tar.gz
bbe187d0453bf0088c857bd956acd9b4  include-fcntl.patch"
sha256sums="149e95ce715c77eaa179b4b8df6c499a4570915a5a094b49a7d914e0073097f1  xcmenu-0.1.0.tar.gz
60ce9cec1ec4eba15d3a7ef832a42154554429db81df7ae472e0f3172e304284  include-fcntl.patch"
sha512sums="8b2d3958d1d075433f783a100cca773b20c54207114faafbad9de74cdbc16a1113b7fcd6204207af6b6c43871ce14bfc1b1574a998e022909d8d64fd8d82a511  xcmenu-0.1.0.tar.gz
c01ad7c59bc6a44e488fb3b82b061b6f8b237801eb1b1cbf9285734a3fa2e413e575a10c5215d5b56d3efbe1ee768cb12895cb3c1b75cb4146218b59361bd954  include-fcntl.patch"