aboutsummaryrefslogtreecommitdiffstats
path: root/community/ucpp
diff options
context:
space:
mode:
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/
}