[arch-commits] Commit in xdg-utils-cxx (3 files)

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


    Date: Monday, April 1, 2019 @ 19:32:37
  Author: arojas
Revision: 349550

archrelease: copy trunk to extra-x86_64

Added:
  xdg-utils-cxx/repos/
  xdg-utils-cxx/repos/extra-x86_64/
  xdg-utils-cxx/repos/extra-x86_64/PKGBUILD
    (from rev 349549, xdg-utils-cxx/trunk/PKGBUILD)

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

Copied: xdg-utils-cxx/repos/extra-x86_64/PKGBUILD (from rev 349549, xdg-utils-cxx/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2019-04-01 19:32:37 UTC (rev 349550)
@@ -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