void-packages/srcpkgs/netsurf-buildsystem/template

25 lines
737 B
Bash

# Template file for 'netsurf-buildsystem'
pkgname=netsurf-buildsystem
version=1.8
revision=1
archs=noarch
wrksrc="${pkgname#netsurf-}-${version}"
short_desc="Netsurf buildsystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=e6a324e7c5965ca032d3196adddd6fd986b5f47c0e6340a646d0d23e3597cd39
do_build() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr
make COMPONENT_TYPE=lib-static PREFIX=/usr
}
do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense COPYING
}