[arch-commits] Commit in lxappearance-obconf-gtk3/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 18:08:30 UTC 2020
Date: Tuesday, July 7, 2020 @ 18:08:12
Author: felixonmars
Revision: 660000
archrelease: copy trunk to community-staging-x86_64
Added:
lxappearance-obconf-gtk3/repos/community-staging-x86_64/
lxappearance-obconf-gtk3/repos/community-staging-x86_64/PKGBUILD
(from rev 659999, lxappearance-obconf-gtk3/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: lxappearance-obconf-gtk3/repos/community-staging-x86_64/PKGBUILD (from rev 659999, lxappearance-obconf-gtk3/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 18:08:12 UTC (rev 660000)
@@ -0,0 +1,40 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+
+pkgname=lxappearance-obconf-gtk3
+_pkgname=lxappearance-obconf
+pkgver=0.2.3
+pkgrel=3
+pkgdesc='Plugin for LXAppearance to configure Openbox (GTK+ 3 version)'
+arch=('x86_64')
+license=('GPL2')
+url='https://lxde.org/'
+groups=('lxde-gtk3')
+depends=('lxappearance-gtk3' 'openbox' 'libobrender.so')
+makedepends=('intltool')
+conflicts=($_pkgname)
+source=(https://downloads.sourceforge.net/lxde/$_pkgname-$pkgver.tar.xz)
+md5sums=('ae0076d489aa786f5d573f7ff592a4ab')
+
+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
+}
More information about the arch-commits
mailing list