aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 21:51:14 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-03-25 21:51:27 +0000
commite0c7bc6d2a6316df8b1023581712314ac2ef82c1 (patch)
treecb28bfaa45e250e76efbed73d9846b61e7584437 /testing
parentd50e0e13624c5637c724655b894bf5d57bea4d9c (diff)
downloadaports-e0c7bc6d2a6316df8b1023581712314ac2ef82c1.tar.bz2
aports-e0c7bc6d2a6316df8b1023581712314ac2ef82c1.tar.xz
testing/cscope: modernize and take maintainership
Diffstat (limited to 'testing')
-rw-r--r--testing/cscope/APKBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/testing/cscope/APKBUILD b/testing/cscope/APKBUILD
index 4005df01f0..1fb368446b 100644
--- a/testing/cscope/APKBUILD
+++ b/testing/cscope/APKBUILD
@@ -1,18 +1,16 @@
# Contributor: Cliff Free <nucular.limozeen@gmail.com>
-# Maintainer:
+# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cscope
pkgver=15.8b
-pkgrel=0
+pkgrel=1
pkgdesc="Cscope is a developer's tool for browsing source code."
url="http://cscope.sourceforge.net/"
arch="all"
license="BSD"
-depends=""
makedepends="ncurses-dev"
-install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/cscope/cscope/$pkgver/cscope-$pkgver.tar.gz"
-builddir="$srcdir/cscope-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
@@ -22,17 +20,13 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
-
+ --localstatedir=/var
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="8f9409a238ee313a96f9f87fe0f3b176 cscope-15.8b.tar.gz"
-sha256sums="4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af cscope-15.8b.tar.gz"
sha512sums="3ebb9cc5bc814c02edb3e395a48e6fe2f206dd698529582e7df81755b335e8c3f4477ad4e8abcefd16d4d9adfd72981916322756b7060acf38fc82d56cc97fd5 cscope-15.8b.tar.gz"