diff --git a/community/enca/APKBUILD b/community/enca/APKBUILD
index f580ffce9d93b8672ee51272b02cc263e2e9e49a..5df41c1be0f9723f2d113cbccdec9a11ea58dbd5 100644
--- a/community/enca/APKBUILD
+++ b/community/enca/APKBUILD
@@ -2,18 +2,15 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=enca
 pkgver=1.19
-pkgrel=1
+pkgrel=2
 pkgdesc="Charset analyser and converter"
 url="http://freshmeat.net/projects/enca/"
 arch="all"
-license="GPL"
+license="GPL-2.0-only"
 subpackages="$pkgname-dev $pkgname-doc"
-source="http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz"
-
-builddir="$srcdir/$pkgname-$pkgver"
+source="http://dl.cihar.com/enca/enca-$pkgver.tar.xz"
 
 build() {
-	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -27,12 +24,10 @@ build() {
 }
 
 check() {
-	cd "$builddir"
 	make check
 }
 
 package() {
-	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 }