diff options
Diffstat (limited to 'testing/quickjs/APKBUILD')
-rw-r--r-- | testing/quickjs/APKBUILD | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/testing/quickjs/APKBUILD b/testing/quickjs/APKBUILD deleted file mode 100644 index 3854a313e9f..00000000000 --- a/testing/quickjs/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Chloe Kudryavtsev <toast@toast.cafe> -pkgname=quickjs -_pkgver=2020-11-08 -pkgver=0.${_pkgver//-} -pkgrel=1 -pkgdesc="Small and embeddable Javascript engine" -url="https://bellard.org/quickjs/" -arch="all !s390x !ppc64le !mips !mips64" # build segfaults on s390x and ppc64le, requires hardfloat -license="MIT" -options="!check" # disabled because bug/issue on builders -subpackages="$pkgname-doc $pkgname-dev $pkgname-static" -source="https://bellard.org/quickjs/quickjs-$_pkgver.tar.xz - 00-makefile.patch - " -builddir="$srcdir/$pkgname-$_pkgver" - -build() { - for bin in qjs qjsc ; do - CONFIG_STATIC=y make prefix=/usr $bin - cp $bin $bin.static - done - make clean - - make prefix=/usr -} - -check() { - make test -} - -package() { - make install prefix="$pkgdir"/usr - for bin in qjs.static qjsc.static ; do - install -Dm755 $bin "$pkgdir"/usr/bin/$bin - done - for doc in doc/*.html; do - install -Dm644 $doc "$pkgdir"/usr/share/doc/quickjs/$doc - done -} - -static() { - pkgdesc="$pkgdesc - static binaries" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/*.static "$subpkgdir"/usr/bin/ -} - -sha512sums="d437813948269bab6046c0219eb20ccea45613073bea1c4eee5b553831fdaaa5e2165b14fcb436e86bf70d488200845f7821864abb6f40b115f0ef7f24971e02 quickjs-2020-11-08.tar.xz -4c6b7932598d7da69316c38a7e3fd3881eb4c1b1f4a13a09fc5dd6c2c417abd90f73487652afefcaffd7e65f30d94915ed301a5091769d42162917251c58e686 00-makefile.patch" |