Skip to content
Snippets Groups Projects
Commit f9a7debf authored by Leo's avatar Leo
Browse files

community/enca: modernize, fix license

parent 7e87b20b
No related branches found
No related tags found
No related merge requests found
...@@ -2,18 +2,15 @@ ...@@ -2,18 +2,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=enca pkgname=enca
pkgver=1.19 pkgver=1.19
pkgrel=1 pkgrel=2
pkgdesc="Charset analyser and converter" pkgdesc="Charset analyser and converter"
url="http://freshmeat.net/projects/enca/" url="http://freshmeat.net/projects/enca/"
arch="all" arch="all"
license="GPL" license="GPL-2.0-only"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz" source="http://dl.cihar.com/enca/enca-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -27,12 +24,10 @@ build() { ...@@ -27,12 +24,10 @@ build() {
} }
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment