[arch-commits] Commit in libappimage/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Apr 1 20:08:47 UTC 2019
Date: Monday, April 1, 2019 @ 20:08:46
Author: arojas
Revision: 349558
archrelease: copy trunk to staging-x86_64
Added:
libappimage/repos/staging-x86_64/
libappimage/repos/staging-x86_64/PKGBUILD
(from rev 349557, libappimage/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: libappimage/repos/staging-x86_64/PKGBUILD (from rev 349557, libappimage/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-04-01 20:08:46 UTC (rev 349558)
@@ -0,0 +1,36 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=libappimage
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Reference implementation of the AppImage specification"
+arch=(x86_64)
+url="https://appimage.org/"
+license=(GPL)
+depends=(libarchive squashfuse boost-libs)
+makedepends=(cmake wget vim desktop-file-utils boost xdg-utils-cxx cairo)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/AppImage/libappimage/archive/v$pkgver.tar.gz")
+sha256sums=('605774879e2eb02a9a73355a2db77e307c42b25d21025be19819500fe569c81b')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUSE_SYSTEM_XZ=ON \
+ -DUSE_SYSTEM_SQUASHFUSE=ON \
+ -DUSE_SYSTEM_LIBARCHIVE=ON \
+ -DUSE_SYSTEM_BOOST=ON \
+ -DUSE_SYSTEM_XDGUTILS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list