void-packages/srcpkgs/netsurf-buildsystem/template

23 lines
687 B
Bash

# Template file for 'netsurf-buildsystem'
pkgname=netsurf-buildsystem
version=1.10
revision=1
short_desc="Netsurf buildsystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.netsurf-browser.org"
distfiles="https://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=3d3e39d569e44677c4b179129bde614c65798e2b3e6253160239d1fd6eae4d79
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
}