summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLartza2020-07-20 11:41:57 +0300
committerLartza2020-07-20 11:41:57 +0300
commit4af63d51308aadca30c212e36fe5b731b8a662ee (patch)
treecb12a0a009c39cbd0f372cee9fcdf81539038060 /PKGBUILD
parent8c5d966318cb9198da1a21e5d40ff363ad369429 (diff)
downloadaur-4af63d51308aadca30c212e36fe5b731b8a662ee.tar.gz
Update dependencies, fix missing license
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a58f71fead8..230243a5928 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Patrik Plihal <patrik.plihal@gmail.com>
pkgname=ckan-git
-pkgver=1.25.1.r9.g5c5cb609
+pkgver=1.28.0.r6.g2442801e
pkgrel=1
pkgdesc="A metadata repository and associated tools for searching, installing, and managing mods for Kerbal Space Program (KSP)"
arch=('any')
@@ -12,23 +12,24 @@ license=('MIT')
provides=('ckan')
conflicts=('ckan')
depends=('mono')
-makedepends=('git' 'python2' 'python2-requests')
+makedepends=('git' 'mono-msbuild')
source=('git+https://github.com/KSP-CKAN/CKAN'
'ckan')
sha256sums=('SKIP'
'80d9c6d68d6bd226954d4fa8081d0adb0c58acd1047cea5bbbaf601ad30a129e')
pkgver() {
- cd ${srcdir}/CKAN
+ cd "CKAN"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd ${srcdir}/CKAN
+ cd "CKAN"
./build
}
package() {
- install -Dm755 ckan ${pkgdir}/usr/bin/ckan
- install -Dm755 CKAN/_build/ckan.exe ${pkgdir}/usr/lib/ckan/ckan.exe
+ install -Dm755 ckan "$pkgdir/usr/bin/ckan"
+ install -Dm755 CKAN/_build/ckan.exe "$pkgdir/usr/lib/ckan/ckan.exe"
+ install -Dm644 CKAN/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}