[arch-commits] Commit in babl/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan de Groot
jgc at archlinux.org
Thu Dec 21 09:03:33 UTC 2017
Date: Thursday, December 21, 2017 @ 09:03:32
Author: jgc
Revision: 313469
archrelease: copy trunk to extra-x86_64
Added:
babl/repos/extra-x86_64/PKGBUILD
(from rev 313468, babl/trunk/PKGBUILD)
Deleted:
babl/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 43 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-21 09:03:26 UTC (rev 313468)
+++ PKGBUILD 2017-12-21 09:03:32 UTC (rev 313469)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-
-pkgname=babl
-pkgver=0.1.30
-pkgrel=1
-pkgdesc="Dynamic, any to any, pixel format conversion library"
-arch=('i686' 'x86_64')
-url="http://gegl.org/babl/"
-license=('LGPL3')
-depends=('glibc')
-makedepends=('gobject-introspection' 'vala')
-options=('!makeflags')
-source=(https://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('45c12c7b06d965123756821fc70c968137d16d44151a6eb55075f904e11d53cc')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: babl/repos/extra-x86_64/PKGBUILD (from rev 313468, babl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-21 09:03:32 UTC (rev 313469)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=babl
+pkgver=0.1.38
+pkgrel=1
+pkgdesc="Dynamic, any to any, pixel format conversion library"
+arch=('x86_64')
+url="http://gegl.org/babl/"
+license=('LGPL3')
+depends=('glibc')
+makedepends=('gobject-introspection' 'vala' git)
+options=('!makeflags')
+_commit=04cea9206deb0a6fb52b0a86012d70551b020205 # tags/BABL_0_1_38^0
+source=("git+https://git.gnome.org/browse/babl#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/$pkgname"
+ ./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd "${srcdir}/$pkgname"
+ make check
+}
+
+package() {
+ cd "${srcdir}/$pkgname"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list