[arch-commits] Commit in xdg-utils-cxx/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Aug 5 08:17:07 UTC 2019


    Date: Monday, August 5, 2019 @ 08:17:07
  Author: arojas
Revision: 359169

Update to 1.0.0

Modified:
  xdg-utils-cxx/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-05 08:08:51 UTC (rev 359168)
+++ PKGBUILD	2019-08-05 08:17:07 UTC (rev 359169)
@@ -1,8 +1,8 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=xdg-utils-cxx
-pkgver=0.git20190307
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
 _commit=6e6428a3248566ef0fd0c448fda8eb83e8835c31
 pkgdesc="Implementation of the FreeDesktop specifications to be used in C++ projects"
 arch=(x86_64)
@@ -9,10 +9,9 @@
 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#commit=$_commit)
-sha256sums=('SKIP')
+makedepends=(cmake)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/azubieta/xdg-utils-cxx/archive/v$pkgver.tar.gz")
+sha256sums=('f17cf9830850f93f4b3d86d458242be0fe37554c73d0e968944ac9730b649801')
 
 prepare() {
   mkdir -p build
@@ -20,7 +19,7 @@
 
 build() {
   cd build
-  cmake ../$pkgname \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC"
@@ -31,5 +30,5 @@
   cd build
   make DESTDIR="$pkgdir" install
 
-  install -Dm644 "$srcdir"/$pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list