summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-28 20:17:14 +0100
committerJaroslav Lichtblau2014-11-28 20:17:14 +0100
commit823b71f0991437c3fb36c378baa8ef110c46f91c (patch)
tree68e10b05cc426148004975b4fa67829351131db8
downloadaur-823b71f0991437c3fb36c378baa8ef110c46f91c.tar.gz
Initial PKGBUILD status as of 28.11.2014
-rw-r--r--.AURINFO20
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD41
3 files changed, 81 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..8a22e2213d7
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,20 @@
+pkgbase = urlview
+ pkgdesc = A curses URL parser for text files
+ pkgver = 0.9
+ pkgrel = 9
+ url = http://packages.qa.debian.org/u/urlview.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = patch
+ makedepends = automake-1.11
+ makedepends = autoconf
+ depends = bash
+ depends = ncurses
+ source = http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9.orig.tar.gz
+ source = http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9-19.diff.gz
+ sha256sums = 746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42
+ sha256sums = 056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585
+
+pkgname = urlview
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8a22e2213d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = urlview
+ pkgdesc = A curses URL parser for text files
+ pkgver = 0.9
+ pkgrel = 9
+ url = http://packages.qa.debian.org/u/urlview.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = patch
+ makedepends = automake-1.11
+ makedepends = autoconf
+ depends = bash
+ depends = ncurses
+ source = http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9.orig.tar.gz
+ source = http://ftp.debian.org/debian/pool/main/u/urlview/urlview_0.9-19.diff.gz
+ sha256sums = 746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42
+ sha256sums = 056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585
+
+pkgname = urlview
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0a5f647f2e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=urlview
+pkgver=0.9
+pkgrel=9
+_patchlevel=19
+pkgdesc="A curses URL parser for text files"
+arch=('i686' 'x86_64')
+url="http://packages.qa.debian.org/u/urlview.html"
+license=('GPL')
+depends=('bash' 'ncurses')
+makedepends=('patch' 'automake-1.11' 'autoconf')
+source=(http://ftp.debian.org/debian/pool/main/u/urlview/${pkgname}_$pkgver.orig.tar.gz \
+ http://ftp.debian.org/debian/pool/main/u/urlview/${pkgname}_$pkgver-$_patchlevel.diff.gz)
+sha256sums=('746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42'
+ '056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585')
+
+prepare() {
+ cd ${srcdir}/$pkgname-$pkgver.orig
+ patch -Np1 -i ${srcdir}/${pkgname}_${pkgver}-$_patchlevel.diff
+ aclocal-1.11
+}
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver.orig
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver.orig
+
+ install -d ${pkgdir}/etc/urlview ${pkgdir}/usr/share/man/man1
+ make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install
+
+ install -D -m755 url_handler.sh ${pkgdir}/etc/urlview/url_handler.sh
+ install -D -m644 sample.urlview ${pkgdir}/etc/urlview/system.urlview
+ install -d ${pkgdir}/usr/bin
+ ln -fs /etc/urlview/url_handler.sh ${pkgdir}/usr/bin/url_handler.sh
+}