[arch-commits] Commit in graphene/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 1 16:08:58 UTC 2018
Date: Thursday, March 1, 2018 @ 16:08:57
Author: heftig
Revision: 317689
archrelease: copy trunk to extra-x86_64
Added:
graphene/repos/extra-x86_64/PKGBUILD
(from rev 317688, graphene/trunk/PKGBUILD)
Deleted:
graphene/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 40 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-01 16:08:22 UTC (rev 317688)
+++ PKGBUILD 2018-03-01 16:08:57 UTC (rev 317689)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=graphene
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="A thin layer of graphic data types"
-url="https://github.com/ebassi/graphene"
-arch=(i686 x86_64)
-license=(MIT)
-depends=(glib2)
-makedepends=(git gtk-doc gobject-introspection meson)
-_commit=aa40018fa12905d024b85293ef49bfc7af1b5627 # tags/1.6.0^0
-source=("git+https://github.com/ebassi/graphene#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- mkdir build
- cd $pkgname
-}
-
-build() {
- cd build
- export LANG=en_US.UTF-8
- meson --prefix=/usr --buildtype=release ../$pkgname --libexecdir=/usr/lib -Denable-gtk-doc=true
- ninja
-}
-
-check() {
- cd build
- ninja test
-}
-
-package() {
- cd build
- DESTDIR="$pkgdir" ninja install
-
- cd ../$pkgname
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: graphene/repos/extra-x86_64/PKGBUILD (from rev 317688, graphene/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-01 16:08:57 UTC (rev 317689)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=graphene
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="A thin layer of graphic data types"
+url="https://github.com/ebassi/graphene"
+arch=(x86_64)
+license=(MIT)
+depends=(glib2)
+makedepends=(git gtk-doc gobject-introspection meson)
+_commit=0bd8ff0233024f40bcd11b7ce954d4ad7451e8f4 # tags/1.8.0^0
+source=("git+https://github.com/ebassi/graphene#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -Dgtk_doc=true
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE
+ rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+}
More information about the arch-commits
mailing list