diff --git a/srcpkgs/megatools-devel b/srcpkgs/megatools-devel new file mode 120000 index 00000000000..331c0be4bfb --- /dev/null +++ b/srcpkgs/megatools-devel @@ -0,0 +1 @@ +megatools/ \ No newline at end of file diff --git a/srcpkgs/megatools/template b/srcpkgs/megatools/template new file mode 100644 index 00000000000..1eb02a6f981 --- /dev/null +++ b/srcpkgs/megatools/template @@ -0,0 +1,25 @@ +# Template file for 'megatools' +pkgname=megatools +version=1.9.97 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="glib-networking gobject-introspection libressl-devel libcurl-devel fuse-devel libsodium-devel glib-devel" +short_desc="Command line client for Mega.nz file sharing service" +maintainer="RunningDroid " +license="GPL-2" +homepage="https://megatools.megous.com/" +distfiles="${homepage}/builds/megatools-${version}.tar.gz" +checksum=3316c56ee55adef0ab113aad41ef95eb28fc15218639f69b1e04362b1c725af3 + +megatools-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" + vmove usr/share/gir-1.0 + } +} diff --git a/srcpkgs/megatools/update b/srcpkgs/megatools/update new file mode 100644 index 00000000000..3107b8f181a --- /dev/null +++ b/srcpkgs/megatools/update @@ -0,0 +1 @@ +pattern='Megatools \K[\d.]+ (?=released)'