aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xcmenu/APKBUILD
blob: 950671447f6eaa2de2e177ce3da362913981b92e (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
45
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer:
pkgname=xcmenu
pkgver=20140816
_commit=717cd03d66ab03226c1491678e50030844b0c590
pkgrel=0
pkgdesc="Lightweight clipboard manager for X"
url="https://github.com/Cloudef/xcmenu"
arch="all"
license="WTFPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="saveas-https://github.com/Cloudef/xcmenu/archive/$_commit.zip/$pkgname-$_commit.zip
	include-fcntl.patch"

_builddir="$srcdir/$pkgname-$_commit"
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="fb4c0b9f02f716221bd626f34264460f  xcmenu-717cd03d66ab03226c1491678e50030844b0c590.zip
bbe187d0453bf0088c857bd956acd9b4  include-fcntl.patch"
sha256sums="8f316dc126203978c8fdaec83414be89dc63f14af59aada80f01fdf69b3e7be7  xcmenu-717cd03d66ab03226c1491678e50030844b0c590.zip
60ce9cec1ec4eba15d3a7ef832a42154554429db81df7ae472e0f3172e304284  include-fcntl.patch"
sha512sums="46e7bbcc3bb75d3a5d973378a37ffdb48473252e6e25b37a9802c921e0f60b0bf16929b998565f0811ef0ac2d4bcbfa6efdf83c73277b1722b1d69264d11f1dc  xcmenu-717cd03d66ab03226c1491678e50030844b0c590.zip
c01ad7c59bc6a44e488fb3b82b061b6f8b237801eb1b1cbf9285734a3fa2e413e575a10c5215d5b56d3efbe1ee768cb12895cb3c1b75cb4146218b59361bd954  include-fcntl.patch"