New package: libunarr-1.0.1

Modified file to accomplish standards

Modified file to accomplish standards

Fixed devel dependencies
This commit is contained in:
criw 2018-08-11 01:01:40 +02:00 committed by maxice8
parent e7ab4562fe
commit 667fdf4ea7
2 changed files with 29 additions and 0 deletions

1
srcpkgs/libunarr-devel Symbolic link
View File

@ -0,0 +1 @@
libunarr

28
srcpkgs/libunarr/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'libunarr'
pkgname=libunarr
version=1.0.1
revision=1
wrksrc="unarr-${version}"
build_style=cmake
makedepends="zlib-devel bzip2-devel liblzma-devel"
short_desc="A decompression library for rar, tar and zip archives"
maintainer="criw <contact@thecriw.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/selmf/unarr"
changelog="https://raw.githubusercontent.com/selmf/unarr/master/CHANGELOG.md"
distfiles="${homepage}/releases/download/v${version}/unarr-${version}.tar.xz"
checksum=54935b1eb30b9a50305f64d38403dab5d2a83e637f48b2b0b118246e260065b5
post_install() {
vlicense COPYING
}
libunarr-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove /usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}