diff --git a/testing/libre2/APKBUILD b/testing/libre2/APKBUILD
index 6f62764468565e913de4dbc46c817512b209fd9e..b4ac3ba9086ffc4ba93c280a7140b413b5cd1aa3 100644
--- a/testing/libre2/APKBUILD
+++ b/testing/libre2/APKBUILD
@@ -35,6 +35,7 @@ build() {
 package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install || return 1
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
 }
 
 md5sums="e82a6491efdf2bc928dc3779abcb3bc8  re2-20140304.tgz"