From 99951ee7bd5f5094473331f810a8cbbffb941bd0 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 16 Jan 2022 17:15:15 +0100 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/libglibutil.git subrepo: subdir: "libglibutil" merged: "c8bcf3a" upstream: origin: "https://aur.archlinux.org/libglibutil.git" branch: "master" commit: "c8bcf3a" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- libglibutil/.SRCINFO | 16 ++++++++++++++++ libglibutil/.gitrepo | 12 ++++++++++++ libglibutil/PKGBUILD | 29 +++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 libglibutil/.SRCINFO create mode 100644 libglibutil/.gitrepo create mode 100644 libglibutil/PKGBUILD diff --git a/libglibutil/.SRCINFO b/libglibutil/.SRCINFO new file mode 100644 index 0000000..bab9b28 --- /dev/null +++ b/libglibutil/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libglibutil + pkgdesc = Library of glib utilities + pkgver = 1.0.61 + pkgrel = 1 + url = https://github.com/sailfishos/libglibutil + arch = x86_64 + arch = i686 + arch = armv7h + arch = aarch64 + license = BSD + makedepends = git + depends = glib2 + source = libglibutil::git+https://github.com/sailfishos/libglibutil.git#commit=508e1255782e59725c25068874337e6309da04b2 + sha512sums = SKIP + +pkgname = libglibutil diff --git a/libglibutil/.gitrepo b/libglibutil/.gitrepo new file mode 100644 index 0000000..a8017f9 --- /dev/null +++ b/libglibutil/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/libglibutil.git + branch = master + commit = c8bcf3ae18a6d885070a85be32e6ebe76ee5ad43 + parent = bb64dd47ac00d67bd455cde36a3a6360de2543aa + method = merge + cmdver = 0.4.3 diff --git a/libglibutil/PKGBUILD b/libglibutil/PKGBUILD new file mode 100644 index 0000000..82a3c9d --- /dev/null +++ b/libglibutil/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Danct12 + +pkgname=libglibutil +pkgver=1.0.61 +pkgrel=1 +pkgdesc="Library of glib utilities" +arch=('x86_64' 'i686' 'armv7h' 'aarch64') +url="https://github.com/sailfishos/libglibutil" +license=('BSD') +depends=('glib2') +makedepends=('git') +_commit="508e1255782e59725c25068874337e6309da04b2" # tags/1.0.61 +source=(${pkgname}::git+https://github.com/sailfishos/libglibutil.git#commit=${_commit}) +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd ${pkgname} + make KEEP_SYMBOLS=1 release pkgconfig +} + +package() { + cd ${pkgname} + make install-dev DESTDIR="${pkgdir}" +}