summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c0d6dcbf765
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: marcelhuberfoo <marcelhuberfoo ät gmail döt com>
+pkgname=xstow++
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="XStow is a replacement of GNU Stow written in C++. It supports all features of Stow with some extensions. Unofficial fork with some extra patches merged."
+arch=('x86_64')
+url="https://github.com/rspeed/xstow"
+license=('GPL')
+depends=('ncurses')
+source=(${pkgname}.${pkgver}.tar.gz::https://github.com/rspeed/xstow/releases/download/v${pkgver}/xstow-${pkgver}.tar.bz2)
+md5sums=('50930488a1fb78e05884b352d4bb2c7f')
+
+build() {
+ cd "$srcdir/${pkgname/++/}-$pkgver"
+ ./configure --prefix=/usr --with-curses=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/${pkgname/++/}-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/${pkgname/++/}-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}