33 lines
928 B
Bash
33 lines
928 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=lxappearance-obconf-gtk2
|
|
_pkgname=lxappearance-obconf
|
|
pkgver=0.2.3
|
|
pkgrel=1
|
|
pkgdesc="Plugin for LXAppearance to configure Openbox (GTK+ 2 version)"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL-2')
|
|
url='https://lxde.org/'
|
|
conflicts=('lxappearance-obconf')
|
|
depends=('lxappearance-gtk2' 'openbox')
|
|
makedepends=('intltool' 'gettext-tiny')
|
|
source=("https://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz")
|
|
sha512sums=('cec56238b2b8ea86ab310fdf3d9d43ef665aac7762018a296803ef7caccb6a5a7854c4b17e0028152b379a373602ede30edb02811a9a370ba369b62bb3caee09')
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
# 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"
|
|
}
|