From 89102e27361b7eef57446f8df594556acadd8ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 14 Jun 2015 20:10:48 +0200 Subject: Initial commit --- .SRCINFO | 20 ++++++++++++++++++++ PKGBUILD | 25 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..5313887 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = patacrep-git + pkgdesc = Engine for LaTeX songbooks + pkgver = 20150614 + pkgrel = 1 + url = http://www.patacrep.com + arch = any + license = GPL + makedepends = python-setuptools + depends = python + depends = python-ply + depends = python-jinja + depends = python-chardet + depends = python-unidecode + depends = texlive-fontsextra + depends = lilypond + source = patacrep::git://github.com/patacrep/patacrep.git#branch=master + sha256sums = SKIP + +pkgname = patacrep-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..05415e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Immae + +pkgname=patacrep-git +pkgver=20150614 +pkgrel=1 +pkgdesc="Engine for LaTeX songbooks" +arch=('any') +url="http://www.patacrep.com" +license=('GPL') +depends=('python' 'python-ply' 'python-jinja' 'python-chardet' + 'python-unidecode' 'texlive-fontsextra' 'lilypond') +makedepends=('python-setuptools') +source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master") +sha256sums=(SKIP) + +build() { + cd "$srcdir/patacrep" + python setup.py build +} + +package(){ + cd "$srcdir/patacrep" + python setup.py install --root="${pkgdir}" +} + -- cgit v1.2.3 From 7a211847213376f1580e00471e161cc7f1da3c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 19 Nov 2015 09:15:54 +0100 Subject: Add missing dependencies --- .SRCINFO | 2 ++ PKGBUILD | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.SRCINFO b/.SRCINFO index 5313887..795feca 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -12,6 +12,8 @@ pkgbase = patacrep-git depends = python-chardet depends = python-unidecode depends = texlive-fontsextra + depends = texlive-latexextra + depends = python-argparse depends = lilypond source = patacrep::git://github.com/patacrep/patacrep.git#branch=master sha256sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index 05415e5..ded3b6c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,8 @@ arch=('any') url="http://www.patacrep.com" license=('GPL') depends=('python' 'python-ply' 'python-jinja' 'python-chardet' - 'python-unidecode' 'texlive-fontsextra' 'lilypond') + 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' + 'python-argparse' 'lilypond') makedepends=('python-setuptools') source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master") sha256sums=(SKIP) -- cgit v1.2.3 From 77539a71a7ae2deaa736d497a5bd8d60061367ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 12:05:42 +0100 Subject: Add missing pkgver computation --- .SRCINFO | 6 ++++-- PKGBUILD | 15 ++++++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 795feca..82efc60 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 11:05:40 UTC 2019 pkgbase = patacrep-git pkgdesc = Engine for LaTeX songbooks - pkgver = 20150614 + pkgver = v5.1.2.r17.g30eb8d62 pkgrel = 1 url = http://www.patacrep.com arch = any @@ -15,7 +17,7 @@ pkgbase = patacrep-git depends = texlive-latexextra depends = python-argparse depends = lilypond - source = patacrep::git://github.com/patacrep/patacrep.git#branch=master + source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master sha256sums = SKIP pkgname = patacrep-git diff --git a/PKGBUILD b/PKGBUILD index ded3b6c..b63d005 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Immae pkgname=patacrep-git -pkgver=20150614 +pkgver=v5.1.2.r17.g30eb8d62 pkgrel=1 pkgdesc="Engine for LaTeX songbooks" arch=('any') @@ -11,16 +11,21 @@ depends=('python' 'python-ply' 'python-jinja' 'python-chardet' 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' 'python-argparse' 'lilypond') makedepends=('python-setuptools') -source=("patacrep::git://github.com/patacrep/patacrep.git#branch=master") -sha256sums=(SKIP) +source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} build() { - cd "$srcdir/patacrep" + cd "$srcdir/$pkgname" python setup.py build } package(){ - cd "$srcdir/patacrep" + cd "$srcdir/$pkgname" python setup.py install --root="${pkgdir}" } -- cgit v1.2.3 From 71304dddf41b04f36853791031090fd69fabba68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 13:42:52 +0100 Subject: Fix package version containing a "v" --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 82efc60..b4bc449 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Feb 14 11:05:40 UTC 2019 +# Thu Feb 14 12:42:48 UTC 2019 pkgbase = patacrep-git pkgdesc = Engine for LaTeX songbooks - pkgver = v5.1.2.r17.g30eb8d62 + pkgver = 5.1.2.r17.g30eb8d62 pkgrel = 1 url = http://www.patacrep.com arch = any diff --git a/PKGBUILD b/PKGBUILD index b63d005..19d0553 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Immae pkgname=patacrep-git -pkgver=v5.1.2.r17.g30eb8d62 +pkgver=5.1.2.r17.g30eb8d62 pkgrel=1 pkgdesc="Engine for LaTeX songbooks" arch=('any') @@ -16,7 +16,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" } build() { -- cgit v1.2.3