New package: libui-alpha3.1

Closes #5144
This commit is contained in:
Toyam Cox 2016-11-14 00:20:54 -05:00
parent 29c01c8793
commit 3e941e8825
3 changed files with 37 additions and 0 deletions

View file

@ -2654,6 +2654,7 @@ libpcre2-16.so.0 libpcre2-10.22_1
libpcre2-32.so.0 libpcre2-10.22_1
libpcre2-8.so.0 libpcre2-10.22_1
libpcre2-posix.so.1 libpcre2-10.22_1
libui.so.0 libui-alpha3.1_1
libgnome-autoar-0.so.0 gnome-autoar-0.1.1_1
libgnome-autoar-gtk-0.so.0 gnome-autoar-0.1.1_1
libxapp.so.1 xapps-1.0.2_1

1
srcpkgs/libui-devel Symbolic link
View file

@ -0,0 +1 @@
libui

35
srcpkgs/libui/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'libui'
pkgname=libui
version=alpha3.1
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="gtk+3-devel"
depends="libX11 libffi"
short_desc="Simple and portable (but not inflexible) GUI library in C"
maintainer="Gangsta Cat <grumpy@keemail.me>"
license="MIT"
homepage="https://github.com/andlabs/libui"
distfiles="https://github.com/andlabs/libui/archive/${version}.tar.gz"
checksum=945ee9abacffafa93b5cf941bddfbe0bd0d4b3a8c7f8b0256779e24249f57679
do_install() {
vinstall build/out/libui.so 755 /usr/lib/
vinstall build/out/libui.so.0 755 /usr/lib/
vinstall ui.h 755 /usr/include/
vinstall ui_unix.h 755 /usr/include/
#vinstall uitable.h 755 /usr/include/ # present in git, uncomment later
}
post_install() {
vlicense LICENSE
}
libui-devel_package() {
depends="libui>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/
vmove usr/lib/*.so
}
}