41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=lxappearance-obconf
|
|
pkgver=0.2.3
|
|
pkgrel=1
|
|
pkgdesc="Plugin for LXAppearance to configure Openbox (GTK+ 3 version)"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL-2')
|
|
url='https://lxde.org/'
|
|
conflicts=('lxappearance-obconf-gtk2')
|
|
depends=('lxappearance' 'openbox')
|
|
makedepends=('intltool' 'gettext-tiny')
|
|
source=("https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz")
|
|
sha512sums=('cec56238b2b8ea86ab310fdf3d9d43ef665aac7762018a296803ef7caccb6a5a7854c4b17e0028152b379a373602ede30edb02811a9a370ba369b62bb3caee09')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
|
|
# hide theme preview as it's broken with GTK+ 3
|
|
# https://sourceforge.net/p/lxde/bugs/768/
|
|
sed -i /frame1/,+19d src/obconf.glade
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-gtk3
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=656231
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|