summaryrefslogtreecommitdiffstats
path: root/testing/pastebinc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-08-20 13:02:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-08-20 13:02:35 +0000
commit786e6553f3bae8207c9f0dee0ccb17c9c8b17e5f (patch)
tree97110de05988c51668c5e7caaae7b69429d2663f /testing/pastebinc/APKBUILD
parent0c0cd475f665d4311963bb557e2ef50104e46522 (diff)
downloadaports-786e6553f3bae8207c9f0dee0ccb17c9c8b17e5f.tar.bz2
aports-786e6553f3bae8207c9f0dee0ccb17c9c8b17e5f.tar.xz
testing/pastebinc: set install prefix to /usr
Diffstat (limited to 'testing/pastebinc/APKBUILD')
-rw-r--r--testing/pastebinc/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/testing/pastebinc/APKBUILD b/testing/pastebinc/APKBUILD
index 65eaddbc9..d9123bf20 100644
--- a/testing/pastebinc/APKBUILD
+++ b/testing/pastebinc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
pkgname=pastebinc
pkgver=0.9.1
-pkgrel=0
+pkgrel=1
pkgdesc="utility to pipe data into a paste on pastebin.com or a similar site"
url="https://github.com/jthomerson/pastebinc"
arch="all"
@@ -12,10 +12,10 @@ depends_dev=
makedepends="wget glib-dev curl-dev"
install=""
subpackages=""
-source="saveas-https://github.com/jthomerson/pastebinc/tarball/RELEASE_0.9.1/$pkgname-$pkgver-$pkgrel.tar.gz"
-_builddir="$srcdir/jthomerson-pastebinc-e16f22d"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jthomerson/pastebinc/archive/RELEASE_$pkgver.tar.gz"
+_builddir="$srcdir/pastebinc-RELEASE_$pkgver"
-makeparams="VERSION=$pkgver-$pkgrel CONFDIR=/etc/pastebinc"
+makeparams="VERSION=$pkgver-$pkgrel CONFDIR=/etc/pastebinc prefix=/usr"
prepare() {
local i
@@ -38,4 +38,6 @@ package() {
make $makeparams DESTDIR="$pkgdir" install || return 1
}
-md5sums="68a1c51b2fa39ecb6fd29a14f2e9f591 pastebinc-0.9.1-0.tar.gz"
+md5sums="761446cc029b61db0870d89e97a393de pastebinc-0.9.1.tar.gz"
+sha256sums="ea262fd31a2ce7952cfbe201bf990c16c537d3fe3af5b3d8e97d5c31ebfd7e07 pastebinc-0.9.1.tar.gz"
+sha512sums="84f8f2879572a9c6ee5c990b7b94e2b311141bf555a4ca4afd39d24211b267b7bc87e67ecf64632d27ac6ac5901b3dd9e7bb76dfb33276c81a9931009244bc29 pastebinc-0.9.1.tar.gz"