diff options
author | Xuanrui Qi | 2024-04-03 21:46:34 +0900 |
---|---|---|
committer | Xuanrui Qi | 2024-04-03 21:46:34 +0900 |
commit | 73cb7157619f2423883489afcccaa227db42d944 (patch) | |
tree | 04adcc297ed91708f90c552792a54b69412854a6 | |
parent | 86dc1dee4330931e148f11949056bcf5b68e3dae (diff) | |
download | aur-libglade.tar.gz |
Remove obsolete Python 2 dep and conversion script
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 9 deletions
@@ -1,16 +1,14 @@ pkgbase = libglade pkgdesc = Allows you to load glade interface files in a program at runtime pkgver = 2.6.4 - pkgrel = 8 + pkgrel = 9 url = http://www.gnome.org install = glade.install arch = x86_64 license = LGPL - makedepends = python2 makedepends = pkgconfig depends = gtk2>=2.16.0 depends = libxml2>=2.7.3 - optdepends = python2: libglade-convert script options = !lto source = https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.bz2 source = libglade-2.0.1-nowarning.patch @@ -2,19 +2,18 @@ pkgname=libglade pkgver=2.6.4 -pkgrel=8 +pkgrel=9 pkgdesc="Allows you to load glade interface files in a program at runtime" arch=(x86_64) license=('LGPL') depends=('gtk2>=2.16.0' 'libxml2>=2.7.3') -makedepends=('python2' 'pkgconfig') -optdepends=('python2: libglade-convert script') +makedepends=('pkgconfig') install=glade.install source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2 libglade-2.0.1-nowarning.patch) -url="http://www.gnome.org" sha256sums=('64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec' '423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008') +url="http://www.gnome.org" options=(!lto) prepare() { @@ -24,7 +23,7 @@ prepare() { build() { cd $pkgname-$pkgver - PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var + ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool @@ -34,5 +33,4 @@ build() { package() { cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install - install -m755 libglade-convert "${pkgdir}/usr/bin/" } |