summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2021-04-26 16:02:57 +0200
committerStephan Springer2021-04-26 16:02:57 +0200
commit14f5c5d7f2b168f4e1165f899a4b785df6a1067e (patch)
tree19c2ba5f22e039c7dc158d94bedc102fc12a0ee3
parentfdbe15824f47c1b95cf52fe60ff7cd68c499f3a0 (diff)
downloadaur-14f5c5d7f2b168f4e1165f899a4b785df6a1067e.tar.gz
update to version 0.0.2
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD37
2 files changed, 20 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a5c355896d9..6fa4a20defb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
-# Generated by mksrcinfo v8
-# Wed Apr 12 21:27:40 UTC 2017
pkgbase = properties-cpp
pkgdesc = A very simple convenience library for handling properties and signals in C++11
- pkgver = 0.0.1
+ pkgver = 0.0.2
pkgrel = 1
url = https://launchpad.net/properties-cpp
arch = any
license = LGPL3
makedepends = cmake
- source = https://launchpad.net/ubuntu/+archive/primary/+files/properties-cpp_0.0.1+14.10.20140730.orig.tar.gz
- md5sums = 449f95cc864ebe38a35848885ca1cb4b
+ source = https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/properties-cpp/0.0.2-6/properties-cpp_0.0.2.orig.tar.gz
+ sha256sums = d768aebeadd19aacd99270b9b2288cddb462f7c578ff1d0ea2848bab7b1eb02c
pkgname = properties-cpp
diff --git a/PKGBUILD b/PKGBUILD
index 6f49c5a8c6b..5e979f5783c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,31 @@
-# Maintainer: Iwan Timmer <irtimmer@gmail.com>
+# Maintainer: Stephan Springer <buzo+arch@Lini.de>
+# Contributor: Iwan Timmer <irtimmer@gmail.com>
pkgname=properties-cpp
pkgdesc="A very simple convenience library for handling properties and signals in C++11"
-pkgver=0.0.1
-_pkgver=0.0.1+14.10.20140730
+pkgver=0.0.2
+_pkgver=0.0.2-6
pkgrel=1
-arch=('any')
+arch=(any)
url="https://launchpad.net/properties-cpp"
-license=('LGPL3')
-makedepends=('cmake')
-source=("https://launchpad.net/ubuntu/+archive/primary/+files/properties-cpp_$_pkgver.orig.tar.gz")
-md5sums=('449f95cc864ebe38a35848885ca1cb4b')
+license=(LGPL3)
+makedepends=(cmake)
+source=("https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${pkgname}/${_pkgver}/${pkgname}_${pkgver}.orig.tar.gz")
+sha256sums=(d768aebeadd19aacd99270b9b2288cddb462f7c578ff1d0ea2848bab7b1eb02c)
prepare() {
- cd "$srcdir/${pkgname}-${_pkgver}"
-
- # Don't build tests
- truncate -s 0 tests/CMakeLists.txt
+ # Don't build tests, would need more dependencies.
+ echo > "$pkgname-$pkgver"/tests/CMakeLists.txt
}
build() {
- mkdir -p "$srcdir/${pkgname}-${_pkgver}/build"
- cd "$srcdir/${pkgname}-${_pkgver}/build"
-
- cmake .. -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
- make
+ cmake -B build -S "$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ cmake --build build
}
package() {
- cd "$srcdir/${pkgname}-${_pkgver}/build"
-
- make DESTDIR="$pkgdir/" install
+ DESTDIR="$pkgdir" cmake --install build
}