summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPhilip Goto2020-03-23 22:01:17 +0100
committerPhilip Goto2020-03-23 22:01:17 +0100
commitce5db9a4eba5aadc2b0aab46feb48c4beaac000b (patch)
treef64ea04c274b78eb5f84c026658a5b3b2ec484f7 /PKGBUILD
parent73b7a823f1c92a32e46c652992f45a8c19b4d962 (diff)
downloadaur-ce5db9a4eba5aadc2b0aab46feb48c4beaac000b.tar.gz
Change to meson building
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 20 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9d3a1d9d33a..d5fcd042765 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,42 @@
# Maintainer: Philip Goto <philip.goto@gmail.com>
-# Contributor: TingPing <tingping@tingping.se>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=glade-git
-pkgver=3.22.0.r115.gdb79d55c
+pkgver=3.22.0.r319.gb8b1b0fa
pkgrel=1
pkgdesc="User interface builder for GTK+ and GNOME."
provides=(glade)
conflicts=(glade)
-arch=(i686 x86_64)
+arch=(i686 x86_64 armv6h armv7h)
license=(GPL LGPL)
-depends=(gtk3 libxml2)
-makedepends=(intltool gtk-doc gobject-introspection python-gobject itstool docbook-xsl git
- gnome-common webkit2gtk)
+depends=(webkit2gtk)
+makedepends=(intltool
+ gtk-doc
+ gobject-introspection
+ python-gobject
+ itstool
+ docbook-xsl
+ git
+ gnome-common
+ meson)
optdepends=('devhelp: development help')
url="https://glade.gnome.org/"
source=("git+https://gitlab.gnome.org/GNOME/glade.git")
sha256sums=(SKIP)
pkgver() {
- cd glade
- git describe --long --tags | sed 's/^GLADE_//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g'
+ cd glade
+ git describe --long --tags | sed 's/^GLADE_//;s/_/./g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- cd glade
- NOCONFIGURE=1 ./autogen.sh
-}
+# check() {
+# ninja -C build test
+# }
build() {
- cd glade
- ./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
+ arch-meson glade build
+ ninja -C build
}
package() {
- cd glade
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir/" ninja -C build install
}