[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Mon Apr 1 19:32:13 UTC 2019


    Date: Monday, April 1, 2019 @ 19:32:12
  Author: arojas
Revision: 349549

New libappimage dependency

Added:
  xdg-utils-cxx/
  xdg-utils-cxx/trunk/
  xdg-utils-cxx/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: xdg-utils-cxx/trunk/PKGBUILD
===================================================================
--- xdg-utils-cxx/trunk/PKGBUILD	                        (rev 0)
+++ xdg-utils-cxx/trunk/PKGBUILD	2019-04-01 19:32:12 UTC (rev 349549)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=xdg-utils-cxx
+pkgver=0.git20190307
+pkgrel=1
+_commit=6e6428a3248566ef0fd0c448fda8eb83e8835c31
+pkgdesc="Implementation of the FreeDesktop specifications to be used in C++ projects"
+arch=(x86_64)
+url="https://github.com/azubieta/xdg-utils-cxx"
+license=(MIT)
+depends=()
+makedepends=(cmake git)
+#source=($pkgname-$pkgver.tar.gz::"https://github.com/azubieta/xdg-utils-cxx/v$pkgver.tar.gz")
+source=(git://github.com/azubieta/xdg-utils-cxx.git)
+sha256sums=('SKIP')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/$pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


More information about the arch-commits mailing list