aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxappearance-obconf/APKBUILD
blob: 9e929812b57f630dae9ceca90d40df2866f22e76 (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
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:

pkgname=lxappearance-obconf
pkgver=0.2.0
pkgrel=1
pkgdesc='Plugin for LXAppearance to configure Openbox'
arch='all'
license='GPL2'
url='http://lxde.org/'
makedepends='gtk+2.0-dev lxappearance-dev openbox-dev intltool'
options='libtool'
subpackages="$pkgname-lang"
source="http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
        obconf-rrbutton.patch"

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -Np1 -i ../obconf-rrbutton.patch || return 1
}

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-static || return 1
  make || return 1
}


package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install || return 1
}

md5sums="8bf23c90febe6a655e0f86c80e44725d  lxappearance-obconf-0.2.0.tar.gz
73cd418ff8dc68a76538fc829d6260c7  obconf-rrbutton.patch"
sha256sums="b7cfda429b0bd6ed5cca1b3ba9fe3f7bc058f978739cad9817dddd181a1d6692  lxappearance-obconf-0.2.0.tar.gz
12a93e653ba281da48d307234d6335002e3d671e1628ee2a95776e92d93ca48e  obconf-rrbutton.patch"
sha512sums="51635e37a5d0e13cc6cc3ee8c7361239b7984d25233358e73684ebe475671012d698141508f373e368d999ed120ce0b8b2ba0642b20b025382b8d439b5ebe348  lxappearance-obconf-0.2.0.tar.gz
a2d25782d23fe3ef0082dfd004ad5dd4070617887569e20abd3a4c311349ab15e158db637e5924aeed092f0154bcfdb83569353d84ac57a6c1daeae8eae3fc54  obconf-rrbutton.patch"