summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/ucpp/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/user/ucpp/APKBUILD b/user/ucpp/APKBUILD
index 60db06531..9d45b1d0a 100644
--- a/user/ucpp/APKBUILD
+++ b/user/ucpp/APKBUILD
@@ -1,29 +1,30 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=ucpp
-pkgver=1.3.2
+pkgver=1.3.5
pkgrel=0
pkgdesc="Embeddable, quick, light and C99 compliant C preprocessor"
-url="https://code.google.com/p/ucpp/"
+url="https://gitlab.com/scarabeusiv/ucpp"
arch="all"
options="!check" # No test suite.
license="BSD-3-Clause and Public-Domain"
depends=""
makedepends=""
subpackages="$pkgname-doc"
-source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir/$pkgname"
+source="https://gitlab.com/scarabeusiv/ucpp/uploads/79f08e39c676f15ed8a59335f6c9b924/ucpp-1.3.5.tar.xz"
build() {
cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
make
}
package() {
cd "$builddir"
- install -Dm755 ucpp "$pkgdir"/usr/bin/ucpp
- gzip ucpp.1
- install -Dm644 ucpp.1.gz "$pkgdir"/usr/share/man/man1/ucpp.1.gz
+ make DESTDIR="$pkgdir" install
}
-sha512sums="a8a22162c0e26bc8281928f921f4e531108ba02658fd9c7a1760ae2fe938c910215aa4db02e5c7f0c5ea1aa66d89157bc780f2f13c57fa603de6c2d0c48cfd32 ucpp-1.3.2.tar.bz2"
+sha512sums="3ded8f7bc2b238adb6e7f4162aee48e039dfe7cee31b700c38e8f147634d47cd1ceaf39c343549b0d4a58358e6b9743f7e84f87b253dc19c05e543d68ade24ce ucpp-1.3.5.tar.xz"