Date: Monday, April 16, 2018 @ 13:31:34 Author: bgyorgy Revision: 316508
archrelease: copy trunk to community-x86_64 Added: tepl/repos/community-x86_64/PKGBUILD (from rev 316507, tepl/trunk/PKGBUILD) Deleted: tepl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 65 +++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-16 13:31:29 UTC (rev 316507) +++ PKGBUILD 2018-04-16 13:31:34 UTC (rev 316508) @@ -1,27 +0,0 @@ -# $Id$ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Tobias Bohrmann (PlainTextField) <honeypot.carb...@aechelon.de> - -pkgname=tepl -pkgver=3.0.0 -pkgrel=1 -pkgdesc="Library that eases the development of GtkSourceView-based text editors and IDEs" -arch=('x86_64' 'i686') -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') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} Copied: tepl/repos/community-x86_64/PKGBUILD (from rev 316507, tepl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-16 13:31:34 UTC (rev 316508) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Tobias Bohrmann (PlainTextField) <honeypot.carb...@aechelon.de> + +pkgname=tepl +pkgver=4.0.0 +pkgrel=1 +pkgdesc="Library that eases the development of GtkSourceView-based text editors and IDEs" +arch=(x86_64) +url="https://wiki.gnome.org/Projects/Tepl" +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 + ./configure --prefix=/usr --enable-gtk-doc --disable-Werror + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}