diff --git a/woff/APKBUILD b/woff/APKBUILD new file mode 100644 index 0000000..8d9e1e2 --- /dev/null +++ b/woff/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Patrycja Rosa +# Maintainer: Patrycja Rosa +pkgname=woff +pkgver=0_git20190224 +pkgrel=0 +_gitrev="dcdc1ed769fb61fb1fdf79c922b93c8c65d3d875" +pkgdesc="TTF to WOFF conversion reference code" +url="https://github.com/samboy/WOFF" +arch="all" +license="MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only" +makedepends="zlib-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/samboy/WOFF/archive/$_gitrev.tar.gz" +builddir="$srcdir/WOFF-$_gitrev" +options="!check" # no checks + +build() { + make +} + +package() { + install -Dm755 woff2sfnt -t "$pkgdir"/usr/bin/ + install -Dm755 sfnt2woff -t "$pkgdir"/usr/bin/ +} + +sha512sums=" +368b9fb80de138f1cb767786ca17624eace90f8b1d9080cba6106a6a272a5741a85fc90b5cc8aeb1bf659bbe0a6b2bdf1469e71bcd1171cac124d914102b1e2c woff-0_git20190224.tar.gz +"