mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
31 lines
675 B
Bash
31 lines
675 B
Bash
# Maintainer: abveritas@chakra-project.org
|
|
# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
|
|
|
|
pkgname=itstool
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="XML to PO and back again"
|
|
arch=('x86_64')
|
|
url="http://itstool.org/"
|
|
license=('GPL3')
|
|
source=("http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2")
|
|
depends=('python2' 'libxml2')
|
|
md5sum=('46fed63fb89c72dbfc03097b4477084ff05ad6f171212d8f1f1546ea543978aa')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|