summaryrefslogtreecommitdiff
path: root/rolo-git
diff options
context:
space:
mode:
Diffstat (limited to 'rolo-git')
-rw-r--r--rolo-git/.SRCINFO18
-rw-r--r--rolo-git/PKGBUILD38
2 files changed, 56 insertions, 0 deletions
diff --git a/rolo-git/.SRCINFO b/rolo-git/.SRCINFO
new file mode 100644
index 0000000..00b24c3
--- /dev/null
+++ b/rolo-git/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = rolo-git
+ pkgdesc = Ncurses vCard viewer and editor
+ pkgver = 0.392.8446eb7
+ pkgrel = 1
+ url = https://github.com/libvc/rolo
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = autoconf
+ depends = ncurses
+ depends = libunac
+ depends = libvc-git
+ provides = rolo
+ conflicts = rolo
+ source = rolo::git+https://github.com/libvc/rolo
+ sha256sums = SKIP
+
+pkgname = rolo-git
diff --git a/rolo-git/PKGBUILD b/rolo-git/PKGBUILD
new file mode 100644
index 0000000..db7ef59
--- /dev/null
+++ b/rolo-git/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+_pkgname=rolo
+pkgname=${_pkgname}-git
+pkgver=0.392.8446eb7
+pkgrel=1
+pkgdesc="Ncurses vCard viewer and editor"
+arch=('i686' 'x86_64')
+url="https://github.com/libvc/rolo"
+license=('GPL')
+depends=('ncurses' 'libunac' 'libvc-git')
+makedepends=('autoconf')
+conflicts=(rolo)
+provides=(rolo)
+source=("${_pkgname}::git+${url}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ echo "0.$(git rev-list --count HEAD).$(git describe --always)"
+}
+
+build() {
+ cd "${_pkgname}"
+ autoreconf -f -i
+ CFLAGS="${CFLAGS}" ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${_pkgname}"
+ make DESTDIR="$pkgdir" install
+ install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
+ install -m644 AUTHORS NEWS README THANKS TODO \
+ "${pkgdir}/usr/share/doc/${_pkgname}"
+}