summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Abdollahzadeh2019-06-05 19:21:26 +0430
committerMohammadreza Abdollahzadeh2019-06-05 19:21:26 +0430
commitd97ac8246ce185dcd9e246d5df09f463cea2f8c4 (patch)
tree749b8502aedc7b84fc3a5f483006a824d39da455
parent45adad21b7ea797fbae749006e4f558ab08d8711 (diff)
downloadaur-d97ac8246ce185dcd9e246d5df09f463cea2f8c4.tar.gz
update dependencies
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD50
2 files changed, 28 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c46123052c4..14140eaaf94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,22 @@
-# Generated by mksrcinfo v8
-# Mon Jul 10 08:21:31 UTC 2017
pkgbase = pygobject-tutorial-git
pkgdesc = The PyGObject Tutorial in html format.
- pkgver = r192.280e3e0
+ pkgver = r227.f8d443c
pkgrel = 1
url = https://github.com/sebp/PyGObject-Tutorial
arch = any
license = FDL1.3
makedepends = git
makedepends = python-sphinx
- source = pygobject-tutorial-git::git+https://github.com/sebp/PyGObject-Tutorial.git
+ makedepends = python-sphinx_rtd_theme
+ source = pygobject-tutorial::git+https://github.com/sebp/PyGObject-Tutorial.git
md5sums = SKIP
pkgname = pygobject-tutorial-git
provides = pygobject-tutorial
conflicts = pygobject-tutorial
- replaces = pygobject-tutorial
pkgname = pygobject-tutorial-devhelp-git
pkgdesc = The PyGObject Tutorial for GNOME devhelp.
provides = pygobject-tutorial-devhelp
conflicts = pygobject-tutorial-devhelp
- replaces = pygobject-tutorial-devhelp
diff --git a/PKGBUILD b/PKGBUILD
index 5e06dda20a7..7eaef609cf0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,47 @@
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgbase=pygobject-tutorial-git
pkgname=('pygobject-tutorial-git' 'pygobject-tutorial-devhelp-git')
-pkgver=r192.280e3e0
+pkgver=r227.f8d443c
pkgrel=1
pkgdesc="The PyGObject Tutorial in html format."
arch=('any')
url="https://github.com/sebp/PyGObject-Tutorial"
license=('FDL1.3')
-makedepends=('git' 'python-sphinx')
-source=("${pkgbase}::git+https://github.com/sebp/PyGObject-Tutorial.git")
+makedepends=('git' 'python-sphinx' 'python-sphinx_rtd_theme')
+source=("${pkgbase%-git}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
- cd "$pkgname"
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ cd "${pkgbase%-git}"
+ ( set -o pipefail
+ git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ )
}
build(){
- cd "${srcdir}/${pkgbase}"
- make html
- make devhelp
+ cd "${pkgbase%-git}"
+ make html
+ make devhelp
}
package_pygobject-tutorial-git() {
- provides=("${pkgname%-git}")
- conflicts=("${pkgname%-git}")
- replaces=("${pkgname%-git}")
-
- install -d ${pkgdir}/usr/share/doc/python-gobject-tutorial
- cd "${srcdir}/${pkgbase}"
- cp -a build/html ${pkgdir}/usr/share/doc/python-gobject-tutorial/
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
+
+ install -d ${pkgdir}/usr/share/doc/python-gobject-tutorial
+ cd "${pkgbase%-git}"
+ cp -a build/html ${pkgdir}/usr/share/doc/python-gobject-tutorial/
}
package_pygobject-tutorial-devhelp-git() {
- pkgdesc="The PyGObject Tutorial for GNOME devhelp."
- provides=("${pkgname%-git}")
- conflicts=("${pkgname%-git}")
- replaces=("${pkgname%-git}")
+ pkgdesc="The PyGObject Tutorial for GNOME devhelp."
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
- install -d ${pkgdir}/usr/share/devhelp/books/PythonGTK3Tutorial
- cd "${srcdir}/${pkgbase}"
- cp -a build/devhelp/* ${pkgdir}/usr/share/devhelp/books/PythonGTK3Tutorial/
+ install -d ${pkgdir}/usr/share/devhelp/books/PythonGTK3Tutorial
+ cd "${pkgbase%-git}"
+ cp -a build/devhelp/* ${pkgdir}/usr/share/devhelp/books/PythonGTK3Tutorial/
}
+# vim:set ts=2 sw=2 et:w
+