diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-22 13:40:32 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-05-22 13:48:10 +0000 |
commit | 99f0ca5da557b04cacfc0b5960de8051d1da503a (patch) | |
tree | 1c4a088bf157ab4feb4b3186687ceef82b8ecbef /testing/trayer/APKBUILD | |
parent | b5ab8efe01a55c634f9841f760402680e02fcfae (diff) | |
download | aports-99f0ca5da557b04cacfc0b5960de8051d1da503a.tar.bz2 aports-99f0ca5da557b04cacfc0b5960de8051d1da503a.tar.xz |
testing/trayer: fixes #4188
Diffstat (limited to 'testing/trayer/APKBUILD')
-rw-r--r-- | testing/trayer/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/trayer/APKBUILD b/testing/trayer/APKBUILD new file mode 100644 index 0000000000..eed2650541 --- /dev/null +++ b/testing/trayer/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: +pkgname=trayer +pkgver=1.0 +pkgrel=0 +pkgdesc="A lightweight GTK2-based systray" +url="https://gna.org/projects/fvwm-crystal/" +arch="all" +license="GPL MIT" +depends="" +depends_dev="libxmu-dev gtk+2.0-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://download.gna.org/fvwm-crystal/trayer/${pkgver}/${pkgname}-${pkgver}.tar.gz" + +_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 + sed -i 's/$(LIBS) $(OBJ) $(SYSTRAYOBJ)/$(OBJ) $(SYSTRAYOBJ) $(LIBS) -lX11/' Makefile +} + +build() { + cd "$_builddir" + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +package() { + cd "$_builddir" + make PREFIX="${pkgdir}/usr" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +md5sums="e1b0b6464f991f2c296561e377585867 trayer-1.0.tar.gz" +sha256sums="64f3b7040a7a563ca4b6924efd950f10c928af7f3535b6f4a00f8bbe0b19484d trayer-1.0.tar.gz" +sha512sums="9903a78a1c185515e87552732449937daa23187d54a3ccbf19bc9fc569d6a440600c879fe78edbea3eff6b66a1f3fc5054d474dfeaca53af3521a6f18b454049 trayer-1.0.tar.gz" |