summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-21 00:51:52 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-21 00:51:52 +0000
commit464336b10a9c2e92bfe481963a66aab42668ee65 (patch)
treec08aa161d3d1a671932468c5b09f090e1aba3fb2
parenta4fabf90587bc96059d0af02d820bdc5f35b59a2 (diff)
downloadpackages-464336b10a9c2e92bfe481963a66aab42668ee65.tar.gz
packages-464336b10a9c2e92bfe481963a66aab42668ee65.tar.bz2
packages-464336b10a9c2e92bfe481963a66aab42668ee65.tar.xz
packages-464336b10a9c2e92bfe481963a66aab42668ee65.zip
user/recode: new package
-rw-r--r--user/recode/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/recode/APKBUILD b/user/recode/APKBUILD
new file mode 100644
index 000000000..09b9a8121
--- /dev/null
+++ b/user/recode/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=recode
+pkgver=3.7.1
+pkgrel=0
+pkgdesc="Character set conversion utilities"
+url=" "
+arch="all"
+options="!check" # Requires unpackaged `cython`.
+license="GPL-3.0+"
+depends=""
+makedepends="help2man cmd:lex python3"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
+source="https://github.com/rrthomas/recode/releases/download/v$pkgver/recode-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ ac_cv_path_PYTHON=/usr/bin/python3
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3cb067fb7e1b0ec89c47e7177cb172bc8253042780101f6d8cb1de7bc0873d2af217e7b04a33ac23bdb8ffd41e43eac767307c4bd8a94355c188d5013f177b04 recode-3.7.1.tar.gz"