diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | ckan | 2 |
3 files changed, 16 insertions, 13 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Sat Jun 10 07:26:23 UTC 2017 pkgbase = ckan-git pkgdesc = A metadata repository and associated tools for searching, installing, and managing mods for Kerbal Space Program (KSP) - pkgver = 1.22.3.r0.g64309722 + pkgver = 1.25.1.r9.g5c5cb609 pkgrel = 1 url = https://github.com/KSP-CKAN/CKAN arch = any @@ -11,11 +9,12 @@ pkgbase = ckan-git makedepends = python2 makedepends = python2-requests depends = mono - depends = curl provides = ckan conflicts = ckan - source = git://github.com/KSP-CKAN/CKAN + source = git+https://github.com/KSP-CKAN/CKAN + source = ckan sha256sums = SKIP + sha256sums = 80d9c6d68d6bd226954d4fa8081d0adb0c58acd1047cea5bbbaf601ad30a129e pkgname = ckan-git @@ -3,7 +3,7 @@ # Contributor: Patrik Plihal <patrik.plihal@gmail.com> pkgname=ckan-git -pkgver=1.22.3.r0.g64309722 +pkgver=1.25.1.r9.g5c5cb609 pkgrel=1 pkgdesc="A metadata repository and associated tools for searching, installing, and managing mods for Kerbal Space Program (KSP)" arch=('any') @@ -11,22 +11,24 @@ url="https://github.com/KSP-CKAN/CKAN" license=('MIT') provides=('ckan') conflicts=('ckan') -depends=('mono' 'curl') +depends=('mono') makedepends=('git' 'python2' 'python2-requests') -source=('git://github.com/KSP-CKAN/CKAN') -sha256sums=('SKIP') +source=('git+https://github.com/KSP-CKAN/CKAN' + 'ckan') +sha256sums=('SKIP' + '80d9c6d68d6bd226954d4fa8081d0adb0c58acd1047cea5bbbaf601ad30a129e') pkgver() { - cd "$srcdir/CKAN" + cd ${srcdir}/CKAN git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/CKAN" + cd ${srcdir}/CKAN ./build } package() { - mkdir -p "$pkgdir/usr/bin/" - cp $srcdir/CKAN/_build/ckan.exe "$pkgdir/usr/bin/ckan" + install -Dm755 ckan ${pkgdir}/usr/bin/ckan + install -Dm755 CKAN/_build/ckan.exe ${pkgdir}/usr/lib/ckan/ckan.exe } @@ -0,0 +1,2 @@ +#!/bin/sh +exec mono /usr/lib/ckan/ckan.exe "$@" |