aboutsummaryrefslogtreecommitdiffstats
path: root/main/stalonetray/APKBUILD
blob: 17b005b91df5f8126683e7a09052e0537f179470 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=stalonetray
pkgver=0.8.3
pkgrel=0
pkgdesc="Stalonetray is a stand-alone freedesktop.org and KDE system tray"
url="http://stalonetray.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="libx11-dev libxpm-dev"
install=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2"

_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"
        ./configure --prefix=/usr
        make
}

package() {
	cd "$_builddir"
        make DESTDIR=$pkgdir install
        install -D -m644 stalonetrayrc.sample $pkgdir/etc/stalonetrayrc
}

md5sums="ae95dbbacc2620e032acea8abab8c9ef  stalonetray-0.8.3.tar.bz2"
sha256sums="36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c  stalonetray-0.8.3.tar.bz2"
sha512sums="b1c50d844b6497b586c1ad56b721675690ea305a4e3a2601ab5305af0e208c215825eefa8fa374ae0c392252156a8dffd5882992c943344f5b6a674fe6553942  stalonetray-0.8.3.tar.bz2"