aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxpanel/APKBUILD
blob: e3470d64dfc476733ba2bc1160c1e58a4800f7d3 (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
46
47
48
49
50
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=lxpanel
pkgver=0.7.0
pkgrel=0
pkgdesc='Lightweight X11 desktop panel'
arch='all'
url='http://lxde.org/'
license='GPL'
makedepends='gtk+2.0-dev alsa-lib-dev menu-cache-dev libwnck-dev
             wireless-tools-dev docbook-xml docbook-xsl intltool libfm-dev'
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="http://downloads.sourceforge.net/sourceforge/lxde/lxpanel-$pkgver.tar.xz
	10-devproc-lxpanel-0.6.2.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"
  CFLAGS="$CFLAGS -lgmodule-2.0" ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --localstatedir=/var \
	|| return 1
  make || return 1
}

package() {
  cd "$_builddir"
  make DESTDIR="$pkgdir" install || return 1
}

md5sums="39698de2c5eda2837607762c9f522cd0  lxpanel-0.7.0.tar.xz
383032b0d8f6c9d2e183930eeeeff395  10-devproc-lxpanel-0.6.2.patch"
sha256sums="bd010d13b1627335f45be1755f7f260dc439c2cfbce942bc36705fa2cffd0b53  lxpanel-0.7.0.tar.xz
8a072485031062b592948d10c6dcdecf33e794789a5d86f214addf75114ab181  10-devproc-lxpanel-0.6.2.patch"
sha512sums="396147a24e852dd7288f99281116c797df4dbb1912925a6b4403ffe74bb8e3d821f7cd96965bedb2db9aff2d1ca3ae89be6e5712df04353a69a9cca5b03589aa  lxpanel-0.7.0.tar.xz
198174624d27198dc229a676d9cee1f56ee4528a5fd8dddf20ed474d3731c90e7f7ba706e3ffb8c8d0b200caece83aa0f3f365726fbf8ad6733996d2c9522914  10-devproc-lxpanel-0.6.2.patch"