summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorL.G. Sarmiento2016-08-01 17:42:05 +0200
committerL.G. Sarmiento2016-08-01 17:42:05 +0200
commitcf04e9f3c02450749ac749cdb862ef75c7dd6a0b (patch)
tree1ad695fc9d8ef8cf781016ea6a9bc5c4336c069a
parentbadeeaa3c871b3ecff3e57455a0e4b2013d97d30 (diff)
downloadaur-cf04e9f3c02450749ac749cdb862ef75c7dd6a0b.tar.gz
PKGBUILD properly set for CVS packages
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 18 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 277fb6c58ef..b62f35784ab 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,21 @@
+# Generated by mksrcinfo v8
+# Mon Aug 1 15:41:23 UTC 2016
pkgbase = beamerscape-git
pkgdesc = Tools for integrating Inkscape and LaTeX beamer
- pkgver = 0.5
- pkgrel = 3
+ pkgver = r38.5d95cc1
+ pkgrel = 1
url = https://github.com/jbohren/beamerscape
arch = any
license = BSD
+ makedepends = git
depends = texlive-publishers
depends = perl-xml-libxml
depends = inkscape
optdepends = cmake>=2.8.3: to \% Layergenerate a large number of presentations
provides = beamerscape
- conflicts = beamerscape_hg
replaces = beamerscape_hg
+ source = beamerscape-git::git+http://github.com/jbohren/beamerscape.git
+ md5sums = SKIP
pkgname = beamerscape-git
diff --git a/PKGBUILD b/PKGBUILD
index a39e3a78a7e..3730867a4f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,27 @@
# Maintainer: L.G. Sarmiento (Pico) <Luis.Sarmientop-ala-nuclear.lu.se>
pkgname=beamerscape-git
_pkgname=beamerscape
-pkgver=0.5
-pkgrel=3
+pkgver=r38.5d95cc1
+pkgrel=1
pkgdesc="Tools for integrating Inkscape and LaTeX beamer"
arch=('any')
url="https://github.com/jbohren/beamerscape"
license=('BSD')
+makedepends=('git')
depends=('texlive-publishers' 'perl-xml-libxml' 'inkscape')
optdepends=('cmake>=2.8.3: to \% Layergenerate a large number of presentations')
provides=('beamerscape')
replaces=('beamerscape_hg')
-conflicts=('beamerscape_hg')
-_gitroot="https://github.com/jbohren/beamerscape.git"
+source=($pkgname::git+http://github.com/jbohren/beamerscape.git)
+md5sums=('SKIP')
-build() {
- [ -d ${srcdir}/${pkgname} ] || mkdir -p ${srcdir}/${pkgname}
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
cd ${srcdir}/${pkgname}
- git clone --depth 1 $_gitroot .
# as of 24/Sep/2015 a new escaping "%" is needed.
sed -i 's#\\% Layer#%% Layer#g' bin/export_overlays
}