Commit dd3fe1ba authored by Leo's avatar Leo

testing/mkmr: upgrade to 0.0.11

parent d1369b4e
# Contributor: Leo <thinkabit.ukim@gmail.com> # Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com> # Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=mkmr pkgname=mkmr
pkgver=0.0.10 pkgver=0.0.11
pkgrel=0 pkgrel=0
pkgdesc="Make merge requests in any GitLab repo conveniently" pkgdesc="Make merge requests in any GitLab repo conveniently"
options="!check" # No testsuite options="!check" # No testsuite
...@@ -17,6 +17,8 @@ depends=" ...@@ -17,6 +17,8 @@ depends="
py3-inquirer py3-inquirer
py3-giturlparse py3-giturlparse
" "
makedepends="scdoc"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/m/mkmr/mkmr-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/m/mkmr/mkmr-$pkgver.tar.gz"
prepare() { prepare() {
...@@ -27,9 +29,15 @@ prepare() { ...@@ -27,9 +29,15 @@ prepare() {
build() { build() {
python3 setup.py build python3 setup.py build
for d in docs/*; do
scdoc < $d > ${d%.scd}
done
} }
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir"
mkdir -p "$pkgdir"/usr/share/man/man1
mv docs/*.1 "$pkgdir"/usr/share/man/man1
} }
sha512sums="0dfd97bcc5b0bb72f9717401b8a9b3fd499ce8fa75721a3000f67109760a419aa72f808169dc8a59ee8e14a28c28cb856b12d54025b8502b36cf56e5a5a1ac9f mkmr-0.0.10.tar.gz" sha512sums="27e9219ec2370c7545c7a7e52fbfd07a616658374834d2c91c25743b946c5ec6bc1400a40722ad1873d2f18c9e6d5abca74a58b8561d5f51d104dccaba774010 mkmr-0.0.11.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment