summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYen Chi Hsuan2017-10-08 02:26:02 +0800
committerYen Chi Hsuan2017-10-08 02:26:02 +0800
commit13dea9ab631f619a194d44471fdec9b3ce85cd1d (patch)
tree280b4c10fb7721a81202f524e93a3fc722013f98 /PKGBUILD
parent16cce21584ce2585b6b3a8ff42681a98b0c5a406 (diff)
downloadaur-13dea9ab631f619a194d44471fdec9b3ce85cd1d.tar.gz
Drop in-package MPL2 license and fix depends
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4631971fbfc..789eb02c420 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,16 @@
_pkgname=version-control-tools
pkgname=$_pkgname-hg
-pkgver=r4759.6c8605c9e78f
-pkgrel=1
+pkgver=r5588.866e7cfd28fe
+pkgrel=2
pkgdesc="Tools, extensions, hooks, etc to support version control at Mozilla"
url="https://mozilla-version-control-tools.readthedocs.io/en/latest/"
arch=('any')
-depends=('mercurial')
+depends=('mercurial' 'python')
provides=("$_pkgname")
-license=('custom:MPL2')
-source=("$_pkgname"::"hg+https://hg.mozilla.org/hgcustom/version-control-tools"
- MPL2.html::https://www.mozilla.org/en-US/MPL/2.0/)
-sha512sums=('SKIP'
- '8da1d55827c0dfafd7685a487db81533f32d20df32223e6d659ac557351d8b4fda791077d2090c7b0a2e3c7e8ac82d0b21e30dfdc14d014de906fba38d35cc89')
+license=('MPL2')
+source=("$_pkgname"::"hg+https://hg.mozilla.org/hgcustom/version-control-tools")
+sha512sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
@@ -27,7 +25,4 @@ package() {
install -Ddm755 "$pkgdir/opt/"
cp -dr --no-preserve=ownership "$_pkgname" "$pkgdir/opt/"
rm -rf "$pkgdir/opt/$_pkgname/.hg"*
-
- install -Ddm755 "$pkgdir/usr/share/licenses/version-control-tools-hg"
- install -Dm644 MPL2.html "$pkgdir/usr/share/licenses/version-control-tools-hg/MPL2.html"
}