You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> |
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> |
|
|
|
pkgname=glade |
|
pkgver=3.22.1 |
|
pkgrel=3 |
|
pkgdesc="User Interface Builder for GTK+ applications" |
|
url="https://glade.gnome.org/" |
|
arch=(x86_64) |
|
license=(GPL LGPL) |
|
depends=(gtk3 libxml2) |
|
makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git |
|
gnome-common webkit2gtk) |
|
optdepends=('devhelp: development help') |
|
_commit=e73a66b3f36ed6c3d9086ad1a50a789f34502a72 # tags/GLADE_3_22_1^0 |
|
source=("git+https://gitlab.gnome.org/GNOME/glade.git#commit=$_commit") |
|
sha256sums=('SKIP') |
|
|
|
pkgver() { |
|
cd $pkgname |
|
git describe --tags | sed 's/^GLADE_//;s/_/./g;s/-/+/g' |
|
} |
|
|
|
prepare() { |
|
cd $pkgname |
|
NOCONFIGURE=1 ./autogen.sh |
|
} |
|
|
|
build() { |
|
cd $pkgname |
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ |
|
--disable-static --enable-gtk-doc |
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool |
|
make |
|
} |
|
|
|
package() { |
|
cd $pkgname |
|
make DESTDIR="$pkgdir" install |
|
}
|
|
|