Date: Monday, April 16, 2018 @ 13:31:29 Author: bgyorgy Revision: 316507
upgpkg: tepl 4.0.0-1 Update to new version Modified: tepl/trunk/PKGBUILD ----------+ PKGBUILD | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-16 13:21:59 UTC (rev 316506) +++ PKGBUILD 2018-04-16 13:31:29 UTC (rev 316507) @@ -3,25 +3,36 @@ # Contributor: Tobias Bohrmann (PlainTextField) <honeypot.carb...@aechelon.de> pkgname=tepl -pkgver=3.0.0 +pkgver=4.0.0 pkgrel=1 pkgdesc="Library that eases the development of GtkSourceView-based text editors and IDEs" -arch=('x86_64') +arch=(x86_64) url="https://wiki.gnome.org/Projects/Tepl" -license=('LGPL2.1') -depends=('gtksourceview3' 'uchardet') -makedepends=('gobject-introspection' 'vala') -source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('9eb6fceb0b521de7bf684508138a5b8428d9f575c395ba54f9e31597980fd0ef') +license=(LGPL2.1) +depends=(gtksourceview4 uchardet) +makedepends=(autoconf-archive git gobject-introspection gtk-doc vala) +_commit=168197c10ce9aa13942f58e32c613ecd63f14897 # tags/4.0.0^0 +source=("git+https://gitlab.gnome.org/GNOME/tepl.git#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + cd $pkgname + ./configure --prefix=/usr --enable-gtk-doc --disable-Werror + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd $pkgname + make DESTDIR="$pkgdir" install }