[arch-commits] Commit in gnome-autoar/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 09:17:10 UTC 2020
Date: Tuesday, May 19, 2020 @ 09:17:10
Author: felixonmars
Revision: 386526
archrelease: copy trunk to staging-x86_64
Added:
gnome-autoar/repos/staging-x86_64/
gnome-autoar/repos/staging-x86_64/PKGBUILD
(from rev 386523, gnome-autoar/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: gnome-autoar/repos/staging-x86_64/PKGBUILD (from rev 386523, gnome-autoar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 09:17:10 UTC (rev 386526)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-autoar
+pkgver=0.2.4
+pkgrel=2
+pkgdesc="Automatic archives creating and extracting library"
+url="https://wiki.gnome.org/TingweiLan/GSoC2013Final"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2 libarchive gtk3)
+makedepends=(intltool git gobject-introspection gtk-doc vala autoconf-archive)
+_commit=064493cb0b6dc89871aa5239f46e0d509987faa4 # tags/0.2.4^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-autoar.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
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list