removed extra/itstool

This commit is contained in:
Kevin Mihelich 2017-10-30 23:25:44 +00:00
parent d951566e83
commit 8b7c827379

View file

@ -1,48 +0,0 @@
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - better memory usage fix: chery-pick latest commit
pkgname=itstool
pkgver=2.0.4
pkgrel=3.1
pkgdesc="XML to PO and back again"
arch=(any)
url="http://itstool.org/"
license=(GPL3)
depends=(python3 libxml2)
makedepends=(git)
_commit=890f35998ba7f86bdc58227142309b8ecc618c10 # tags/2.0.4^0
source=("git+https://github.com/itstool/itstool#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
# https://github.com/itstool/itstool/issues/15#issuecomment-337820553
# git revert -n d3adf0264ee2b6fd28b7eff7dec33501d6e75a7c
git cherry-pick -n 9b84c007a73e8275ca45762f1bfa3ab7c3a852e2
autoreconf -fvi
}
build() {
cd $pkgname
./configure --prefix=/usr
make
}
check() {
cd $pkgname
make check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}