summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-06-28 13:28:28 +0300
committerCaleb Maclennan2018-06-28 13:28:28 +0300
commit3022a0756eeaf79272ec7dca3573a4047b330799 (patch)
treef94e99434b09cdd6634ffe8a0623d40098f7bcb2
parentcf2c440962905742eaea2aa936aa9c40048a09a5 (diff)
downloadaur-3022a0756eeaf79272ec7dca3573a4047b330799.tar.gz
Use upstream testing branch and normalize AUR version scheme
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD22
2 files changed, 16 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b4030f05c88..284c7e3ebcfc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Thu Jun 28 10:27:28 UTC 2018
pkgbase = font-manager-git
pkgdesc = A simple font management application for GTK+ Desktop Environments
- pkgver = 0.r148.91c509c
- pkgrel = 2
+ pkgver = 0.7.3.r36.ga299ee3
+ pkgrel = 1
url = http://fontmanager.github.io/
install = font-manager.install
arch = i686
@@ -21,7 +23,7 @@ pkgbase = font-manager-git
depends = file-roller
provides = font-manager
conflicts = font-manager
- source = git+https://github.com/FontManager/master.git
+ source = font-manager-git::git://github.com/FontManager/master.git#branch=testing
md5sums = SKIP
pkgname = font-manager-git
diff --git a/PKGBUILD b/PKGBUILD
index 2ce3cd1efe48..8c3ceecb0ada 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
-# Author: Dies <JerryCasiano(at)gmail(dot)com>
+# Author: Dies <JerryCasiano(at)gmail(dot)com>
# Maintainer: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
# Contributor: Zaler <zldream1011(at)gmail(dot)com>
# Contributor: joni <kljohann(at)gmail(dot)com>
+# Contributor: Caleb Maclennan <caleb@alerque.com>
pkgname=font-manager-git
-_gitname=master
-pkgver=0.r148.91c509c
-pkgrel=2
+_branch=testing
+pkgver=0.7.3.r36.ga299ee3
+pkgrel=1
pkgdesc="A simple font management application for GTK+ Desktop Environments"
url="http://fontmanager.github.io/"
arch=('i686' 'x86_64')
@@ -16,25 +17,24 @@ makedepends=('git' 'gnome-common' 'automake' 'intltool' 'yelp-tools' 'gobject-in
install=font-manager.install
provides=('font-manager')
conflicts=('font-manager')
-source=("git+https://github.com/FontManager/${_gitname}.git")
+source=("${pkgname}::git://github.com/FontManager/master.git#branch=${_branch}")
md5sums=('SKIP')
pkgver() {
- cd ${srcdir}/${_gitname}
-
- # git describe can't describe anything without tags
- printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd ${pkgname}
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd ${srcdir}/${_gitname}
+ cd ${pkgname}
./autogen.sh --prefix=/usr --disable-schemas-compile
make -j1
}
package() {
- cd ${srcdir}/${_gitname}
+ cd ${pkgname}
make DESTDIR=${pkgdir} install
}