[arch-commits] Commit in tepl/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Mar 31 08:25:46 UTC 2019
Date: Sunday, March 31, 2019 @ 08:25:45
Author: bgyorgy
Revision: 446552
upgpkg: tepl 4.2.0-2
Fix build (FS#62196)
Modified:
tepl/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-31 08:25:34 UTC (rev 446551)
+++ PKGBUILD 2019-03-31 08:25:45 UTC (rev 446552)
@@ -3,35 +3,24 @@
pkgname=tepl
pkgver=4.2.0
-pkgrel=1
+pkgrel=2
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=(amtk gtksourceview4 uchardet)
-makedepends=(autoconf-archive git gobject-introspection gtk-doc vala)
-_commit=f8eed120c95a78f2f3a722f4d9c61bc280aed849 # tags/4.2.0^0
-source=("git+https://gitlab.gnome.org/GNOME/tepl.git#commit=$_commit")
-sha256sums=('SKIP')
+makedepends=(gobject-introspection gtk-doc vala)
+source=("https://download.gnome.org/sources/tepl/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('8839d4428ecdd87fd5abc657ebbe5a9601a57262e9946845e47dec264e669ccd')
-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
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd $pkgname
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list