aboutsummaryrefslogtreecommitdiffstats
path: root/community/ucpp
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-02 15:17:06 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-02 15:17:06 +0200
commitcb2efe169ce7e9b186cf0a127393933c32782b87 (patch)
treea3d5fc088049596963f9606a7c729929f82a225d /community/ucpp
parent8f67c230a191140746b07c49a94a19358f9ec0d9 (diff)
downloadaports-cb2efe169ce7e9b186cf0a127393933c32782b87.tar.bz2
aports-cb2efe169ce7e9b186cf0a127393933c32782b87.tar.xz
community/ucpp: fix source, simplify aport
Diffstat (limited to 'community/ucpp')
-rw-r--r--community/ucpp/APKBUILD18
1 files changed, 4 insertions, 14 deletions
diff --git a/community/ucpp/APKBUILD b/community/ucpp/APKBUILD
index 51436cdf8a..994123d65e 100644
--- a/community/ucpp/APKBUILD
+++ b/community/ucpp/APKBUILD
@@ -11,26 +11,16 @@ depends=""
makedepends=""
install=""
subpackages=""
-source="https://ucpp.googlecode.com/files/ucpp-$pkgver.tar.bz2"
-
-_builddir="$srcdir"/ucpp
-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
-}
+source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-$pkgver.tar.bz2"
+builddir="$srcdir"/ucpp
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -dm755 "$pkgdir"/usr/bin
install -m755 ucpp "$pkgdir"/usr/bin/
}