woff: new ptrcport

This commit is contained in:
ptrcnull 2024-07-30 01:15:32 +02:00
parent 3106acf404
commit 0faa2e6c08

27
woff/APKBUILD Normal file
View file

@ -0,0 +1,27 @@
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
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
"