archrelease: copy trunk to community-any
[ArchLinux/community.git] / libnsutils / repos / community-x86_64 / PKGBUILD
blob7af21b69046fc065251410c5e0d5aadbf927f4f5
1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
3 pkgname=libnsutils
4 pkgver=0.1.0
5 _netsurf=3.10
6 pkgrel=2
7 pkgdesc='NetSurf Utilities'
8 arch=(x86_64)
9 url='https://source.netsurf-browser.org/libnsutils.git/'
10 license=(MIT)
11 makedepends=(netsurf-buildsystem)
12 source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$_netsurf.tar.gz")
13 sha256sums=('495adf6b6614ce36fca6c605f7c321f9cb4a3df838043158122678ce2b3325b7')
15 build() {
16   make -C netsurf-all-$_netsurf/$pkgname PREFIX=/usr INCLUDEDIR=include \
17     LIBDIR=lib COMPONENT_TYPE=lib-shared
20 package() {
21   cd netsurf-all-$_netsurf/$pkgname
22   make PREFIX=/usr INCLUDEDIR=include LIBDIR=lib COMPONENT_TYPE=lib-shared \
23     DESTDIR="$pkgdir" install
24   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
27 # getver: source.netsurf-browser.org/libnsutils.git/plain/Makefile
28 # vim: ts=2 sw=2 et: