void-packages/srcpkgs/netsurf-buildsystem/template

24 lines
780 B
Bash

# Template build file for 'netsurf-buildsystem'.
pkgname=netsurf-buildsystem
version=1.3
revision=1
noarch=yes
wrksrc="${pkgname#netsurf-}-${version}"
short_desc="The Netsurf buildsystem"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79
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
vinstall COPYING 0644 usr/share/licenses/${pkgname}
}