From 36313b979e883c42b7de10104da3b2f5401b9d20 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Fri, 29 Oct 2021 00:28:22 +0200 Subject: * Wanted to test this as I couldn't find any screenshots. It turns out rolo is a joke of an address book in which you must edit vCards with a text editor. Nevertheless, since these PKGBUILDs I made are much better than those found on the AUR they might be useful to someone. new file: libvc-git/.SRCINFO new file: libvc-git/PKGBUILD new file: rolo-git/.SRCINFO new file: rolo-git/PKGBUILD --- libvc-git/.SRCINFO | 19 +++++++++++++++++++ libvc-git/PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ rolo-git/.SRCINFO | 18 ++++++++++++++++++ rolo-git/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 libvc-git/.SRCINFO create mode 100644 libvc-git/PKGBUILD create mode 100644 rolo-git/.SRCINFO create mode 100644 rolo-git/PKGBUILD diff --git a/libvc-git/.SRCINFO b/libvc-git/.SRCINFO new file mode 100644 index 0000000..7d758c0 --- /dev/null +++ b/libvc-git/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = libvc-git + pkgdesc = vCard library, part of rolo project. + pkgver = 0.91.3834e2f + pkgrel = 1 + url = https://github.com/libvc/libvc + arch = i686 + arch = x86_64 + license = LGPL + makedepends = flex + makedepends = git + makedepends = autoconf + depends = glibc + provides = libvc + conflicts = libvc + options = !libtool + source = libvc::git+https://github.com/libvc/libvc + sha256sums = SKIP + +pkgname = libvc-git diff --git a/libvc-git/PKGBUILD b/libvc-git/PKGBUILD new file mode 100644 index 0000000..3e2a038 --- /dev/null +++ b/libvc-git/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Deposite Pirate +# +# Upstream: https://git.metalpunks.info/arch-ports + +_pkgname=libvc +pkgname=${_pkgname}-git +pkgver=0.91.3834e2f +pkgrel=1 +pkgdesc="vCard library, part of rolo project." +arch=('i686' 'x86_64') +url="https://github.com/libvc/libvc" +license=("LGPL") +depends=('glibc') +makedepends=('flex' 'git' 'autoconf') +conflicts=(libvc) +provides=(libvc) +source=("${_pkgname}::git+${url}") +sha256sums=('SKIP') +options=(!libtool) + +pkgver() { + cd "${_pkgname}" + echo "0.$(git rev-list --count HEAD).$(git describe --always)" +} + +#prepare() { +# cd "${_pkgname}" +# +# # Improve vCard parsing times (doesn't apply cleanly) +# patch -p1 -i patches/improve-parsing-time-large-vcards.patch +# patch -p1 -i patches/fix-segfault.patch +#} + +build() { + cd "${_pkgname}" + autoreconf -f -i + CFLAGS="${CFLAGS}" ./configure --prefix=/usr + 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}" +} 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 +# +# 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}" +} -- cgit v1.2.3-70-g09d2