summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLartza2018-05-13 14:26:52 +0300
committerLartza2018-05-13 14:28:10 +0300
commit8c5d966318cb9198da1a21e5d40ff363ad369429 (patch)
treeccd8254346ca65f5a10e097f0c7fd97f99ab4d5e
parent41e3c40f58e07b2da4373f06563c6b595cb46dee (diff)
downloadaur-8c5d966318cb9198da1a21e5d40ff363ad369429.tar.gz
Update dependencies, packaging
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD18
-rw-r--r--ckan2
3 files changed, 16 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c9a929af8d..7064296a544 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 77bf4fdf33b..a58f71fead8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}
diff --git a/ckan b/ckan
new file mode 100644
index 00000000000..30284eaf028
--- /dev/null
+++ b/ckan
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec mono /usr/lib/ckan/ckan.exe "$@"