diff options
author | William Turner | 2017-01-04 21:41:39 -0500 |
---|---|---|
committer | William Turner | 2017-01-04 21:41:39 -0500 |
commit | d885a7f580ddc9ecb20dce2f9b008e9f01671617 (patch) | |
tree | 2b7cad9fb797cbdd762948810503c8ed58a1951d | |
parent | 0a7a33be94a5883f2fb31fbcdd302af10137a2da (diff) | |
download | aur-d885a7f580ddc9ecb20dce2f9b008e9f01671617.tar.gz |
Removes scripts to avoid conflicts
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-ufonormalizer-git pkgdesc = A tool that will normalize the XML and other data inside of a UFO. pkgver = 0.1.r178.1ed0111 - pkgrel = 1 + pkgrel = 2 url = https://github.com/unified-font-object/ufoNormalizer arch = any license = unknown @@ -3,7 +3,7 @@ pkgbase=python-ufonormalizer-git pkgname=(python-ufonormalizer-git python2-ufonormalizer-git) _pkgname=ufoNormalizer pkgver=0.1.r178.1ed0111 -pkgrel=1 +pkgrel=2 pkgdesc='A tool that will normalize the XML and other data inside of a UFO.' arch=('any') url='https://github.com/unified-font-object/ufoNormalizer' @@ -31,7 +31,10 @@ package_python-ufonormalizer-git() { cd "${srcdir}/${_pkgname}" # build and install the package - python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 + python setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1 + + # remove the installed scripts to prevent conflicts between both packages + rm -r "${pkgdir}/usr/bin" } package_python2-ufonormalizer-git() { @@ -43,4 +46,7 @@ package_python2-ufonormalizer-git() { # build and install the package python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 + + # remove the installed scripts to prevent conflicts between both packages + rm -r "${pkgdir}/usr/bin" } |