diff options
author | taskie | 2015-11-20 13:39:36 +0000 |
---|---|---|
committer | taskie | 2015-11-20 13:39:36 +0000 |
commit | 94eafc7f49305540fcc63e1d8a99a90a56a820c8 (patch) | |
tree | 75fa0ce5fc8b79b2cf196e8395f6b86717a0466a | |
download | aur-94eafc7f49305540fcc63e1d8a99a90a56a820c8.tar.gz |
salvage from AUR 3
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e52c570d3be4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = xstow + pkgdesc = XStow is a replacement of GNU Stow written in C++. It supports all features of Stow with some extensions. + pkgver = 1.0.2 + pkgrel = 2 + url = http://xstow.sourceforge.net + arch = i686 + arch = x86_64 + license = GPL + depends = ncurses + source = http://downloads.sourceforge.net/sourceforge/xstow/xstow-1.0.2.tar.bz2 + md5sums = 685fe4f3db3c363191e836082dc0d512 + +pkgname = xstow + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21b01798fa4e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=xstow +pkgver=1.0.2 +pkgrel=2 +pkgdesc="XStow is a replacement of GNU Stow written in C++. It supports all features of Stow with some extensions." +arch=('i686' 'x86_64') +url="http://xstow.sourceforge.net" +license=('GPL') +depends=('ncurses') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('685fe4f3db3c363191e836082dc0d512') + +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 +} |