mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
libfetch: ship LICENSE, fix distfiles
This commit is contained in:
parent
3fd1be5187
commit
044c00099f
1 changed files with 8 additions and 3 deletions
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'libfetch'
|
# Template file for 'libfetch'
|
||||||
pkgname=libfetch
|
pkgname=libfetch
|
||||||
version=2.34
|
version=2.34
|
||||||
revision=21
|
revision=22
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="File Transfer Library for URLs"
|
short_desc="File Transfer Library for URLs"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="http://www.NetBSD.org"
|
homepage="https://www.NetBSD.org"
|
||||||
distfiles="http://distfiles.voidlinux.de/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://distfiles.voidlinux.de/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722
|
checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC
|
make CC=$CC
|
||||||
|
sed -n '/Copyright/,/SUCH DAMAGE/p' fetch.c >LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
libfetch-devel_package() {
|
libfetch-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue