archpkgs/libglibutil/PKGBUILD
Gabriel Ebner 99951ee7bd 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:   "???"
2022-01-16 17:15:15 +01:00

30 lines
656 B
Bash

# Maintainer: Danct12 <danct12@disroot.org>
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}"
}