mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 06:47:14 +08:00
added netsurf-buildsystem, a dependency of libparserutils
This commit is contained in:
parent
13f4d95a71
commit
0bd627efd2
28
netsurf-buildsystem/PKGBUILD
Normal file
28
netsurf-buildsystem/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||
# contributions from Arch: https://www.archlinux.org/packages/community/x86_64/netsurf-buildsystem/
|
||||
|
||||
pkgname=netsurf-buildsystem
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc='The Netsurf buildsystem'
|
||||
arch=('x86_64')
|
||||
url='http://www.netsurf-browser.org/'
|
||||
license=('MIT')
|
||||
source=("http://download.netsurf-browser.org/libs/releases/buildsystem-$pkgver.tar.gz")
|
||||
sha256sums=('4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/buildsystem-$pkgver"
|
||||
|
||||
sed -i 's:-Werror::' Makefile
|
||||
make PREFIX=/usr COMPONENT_TYPE='lib-shared'
|
||||
make PREFIX=/usr COMPONENT_TYPE='lib-static'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/buildsystem-$pkgver"
|
||||
|
||||
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-shared'
|
||||
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-static'
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
Loading…
Reference in New Issue
Block a user