44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
# Template file for 'GPaste'
|
|
pkgname=GPaste
|
|
version=3.28.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake gettext-devel gobject-introspection intltool
|
|
pkg-config"
|
|
makedepends="appstream-glib-devel gjs-devel libXtst-devel mutter-devel
|
|
vala-devel"
|
|
short_desc="Clipboard management system"
|
|
maintainer="Alif Rachmawadi <arch@subosito.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.imagination-land.org/tags/GPaste.html"
|
|
distfiles="https://github.com/Keruspe/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=c2c68bf8dc75d82de166c27d6b57334b60cd3d4da6cc72bf87e6247ef138ddfd
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
GPaste-devel_package() {
|
|
depends="libgpaste-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libgpaste_package() {
|
|
short_desc+=" - gpaste library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libgpaste.so.*"
|
|
}
|
|
}
|