summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHonghao Li2019-02-05 22:44:13 +0800
committerHonghao Li2019-02-05 22:44:13 +0800
commitd6588873bcdbf8f1bdc81951d6bcb998aaa51c37 (patch)
tree736533dbd292049bddaaa513a84f58157ace6f4a
downloadaur-d6588873bcdbf8f1bdc81951d6bcb998aaa51c37.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD53
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eb77813a8ce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = stow-git
+ pkgdesc = Manage installation of multiple softwares in the same directory tree, git version
+ pkgver = 20180211
+ pkgrel = 1
+ url = http://www.gnu.org/software/stow/
+ arch = x86_64
+ license = GPL2
+ checkdepends = perl-test-output
+ checkdepends = perl-io-stringy
+ checkdepends = texlive-core
+ makedepends = git
+ makedepends = texi2html
+ makedepends = texinfo
+ depends = perl
+ provides = stow
+ conflicts = stow
+ source = git://git.savannah.gnu.org/stow.git
+ md5sums = SKIP
+
+pkgname = stow-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9e68e7edda3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Honghao Li <im@rasphino.cn>
+# Contributor: S├ębastien Luttringer <seblu@archlinux.org>
+# Contributor: eric <eric@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+
+pkgname=stow-git
+pkgver=20180211
+pkgrel=1
+pkgdesc='Manage installation of multiple softwares in the same directory tree, git version'
+url='http://www.gnu.org/software/stow/'
+arch=('x86_64')
+license=('GPL2')
+depends=('perl')
+makedepends=('git' 'texi2html' 'texinfo' 'texlive-core')
+checkdepends=('perl-test-output' 'perl-io-stringy')
+source=("git://git.savannah.gnu.org/stow.git")
+md5sums=('SKIP')
+provides=('stow')
+conflicts=('stow')
+_gitname="stow"
+
+pkgver() {
+ cd "${srcdir}/${_gitname}"
+ git log -1 --format="%cd" --date=short | sed 's|-||g'
+}
+
+prepare() {
+ cd "${srcdir}/${_gitname}"
+ autoreconf -iv
+}
+
+build() {
+ cd "${srcdir}/${_gitname}"
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-pmdir=/usr/share/perl5/vendor_perl
+ make
+}
+
+check() {
+ cd "${srcdir}/${_gitname}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${_gitname}"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: