diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-06-27 10:17:05 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-07-04 11:42:28 +0200 |
commit | 2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd (patch) | |
tree | 97c60fb3221dfe78cd7ccfda5db6125c81d5f676 /community/urlview | |
parent | 00e8ff605f1c4f6386596f35f2a5287ff9b8bc55 (diff) | |
download | aports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.tar.bz2 aports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.tar.xz |
testing/[various]: move packages to community
Moves the packages listed below from the testing to the community
repository after successfully testing of said packages.
asciinema
at
calcurse
cmus
compton
cpio
dvd+rw-tools
fortune
fvwm
geary
h2o
heirloom-mailx
leafpad
nedit
nmh
rover
tor
torsocks
urlview
vdesk
w3m
wbar
xcalc
xclock
xeyes
xkill
Diffstat (limited to 'community/urlview')
-rw-r--r-- | community/urlview/APKBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/community/urlview/APKBUILD b/community/urlview/APKBUILD new file mode 100644 index 0000000000..4969523b1f --- /dev/null +++ b/community/urlview/APKBUILD @@ -0,0 +1,65 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=urlview +# ghbump to update http://sprunge.us/bQYI +_project="sigpipe/urlview" +_sha=08767aa863cd27d1755ba0aff65b8cc1a0c1446a +pkgver=20131023 +pkgrel=0 +pkgdesc="urlview is a program for extracting URLs from text files" +url="https://github.com/sigpipe/urlview" +arch="all" +license="GPL" +depends="" +depends_dev="ncurses-dev" +makedepends="$depends_dev automake autoconf libtool" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$_sha.tar.gz::https://github.com/sigpipe/urlview/archive/08767aa863cd27d1755ba0aff65b8cc1a0c1446a.tar.gz" + +_builddir="$srcdir/$pkgname-$_sha" + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + aclocal + automake --foreign --ignore-deps --add-missing + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + mkdir -p "${pkgdir}"/etc/urlview \ + "${pkgdir}"/usr/share/man/man1 \ + "${pkgdir}"/usr/bin + make prefix="${pkgdir}"/usr \ + mandir="${pkgdir}"/usr/share/man install || return 1 + install -Dm755 url_handler.sh \ + "${pkgdir}"/etc/urlview/url_handler.sh || return 1 + install -Dm644 sample.urlview \ + "${pkgdir}"/etc/urlview/system.urlview + ln -fs /etc/urlview/url_handler.sh \ + "${pkgdir}"/usr/bin/url_handler.sh || return 1 +} + +md5sums="5a88be952d8e4c835396926da9b22c3d urlview-08767aa863cd27d1755ba0aff65b8cc1a0c1446a.tar.gz" +sha256sums="23d32e7f610601f012e06d79b206d4952259bdabe9aa64940c7e1bb8c0cb6519 urlview-08767aa863cd27d1755ba0aff65b8cc1a0c1446a.tar.gz" +sha512sums="0fe27ec22e591a25b57150abe1e7181d8472e17e0305beda7fbf355dc6f80799193f7859ce5f18155adb3ee7f01657bbb8d4c307770b8a3d2fc4bc5b937646d6 urlview-08767aa863cd27d1755ba0aff65b8cc1a0c1446a.tar.gz" |