void-packages/srcpkgs/libapp/template
2015-07-27 12:26:01 +02:00

29 lines
754 B
Bash

# Template file for 'libapp'
pkgname=libapp
reverts=20140608_1
version=20140527
revision=1
_commit=febebe2bc0fb88d57bdf4eb4a2a54c9eeda3f3d8
build_style=gnu-makefile
short_desc="Utilities for repetitive tasks in app development"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="https://github.com/drotiro/libapp"
distfiles="$homepage/archive/$_commit.tar.gz"
checksum=46151deb0c8b5696ccd09c5c1f7828ae6073ca88cd5b4062bd8bed13eb21a2f4
wrksrc="$pkgname-$_commit"
do_install() {
make PREFIX=${DESTDIR}/usr install
}
libapp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}