summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pierlot-Garcin2016-01-21 15:41:34 +0100
committerAntoine Pierlot-Garcin2016-01-21 15:41:34 +0100
commitc95be8efbe17b068cbf4d541b4d608beaf143287 (patch)
treeb7d0dbc53b475aaf210dcec0df984410dfc62e63
downloadaur-c95be8efbe17b068cbf4d541b4d608beaf143287.tar.gz
Initial release
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD46
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..78382a160a9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Thu Jan 21 14:40:40 UTC 2016
+pkgbase = debsigs-git
+ pkgdesc = toolset for cryptographically signing Debian packages
+ pkgver = r60.52a2621
+ pkgrel = 1
+ url = http://gitorious.org/debsigs/debsigs
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = perl
+ depends = perl
+ provides = debsigs
+ conflicts = debsigs
+ source = debsigs::git+http://gitorious.org/debsigs/debsigs.git
+ md5sums = SKIP
+
+pkgname = debsigs-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..60826acba21
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+debsigs
+debsigs*.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de7da21ac66
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Antoine Pierlot-Garcin <antoine@bokbox.com>
+pkgname=debsigs-git
+pkgver=r60.52a2621
+pkgrel=1
+pkgdesc="toolset for cryptographically signing Debian packages"
+arch=('any')
+url="http://gitorious.org/debsigs/debsigs"
+license=('GPL')
+groups=()
+depends=('perl')
+makedepends=('git' 'perl') # 'bzr', 'git', 'mercurial' or 'subversion'
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+replaces=()
+backup=()
+options=()
+install=
+source=('debsigs::git+http://gitorious.org/debsigs/debsigs.git')
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+
+## Git, tags available
+# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+
+# Git, no tags available
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$srcdir/${pkgname%-git}"
+ #patch -p1 -i "$srcdir/${pkgname%-git}.patch"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ perl Makefile.PL
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" install
+}