New package: CKAN-1.30.4

This commit is contained in:
Eugen Zagorodniy 2022-02-20 01:41:25 +02:00 committed by classabbyamp
parent b5461cc7a0
commit 97cc46ee47
1 changed files with 28 additions and 0 deletions

28
srcpkgs/CKAN/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'CKAN'
pkgname=CKAN
version=1.30.4
revision=1
archs="x86_64* i686*" # Only support archs that are supported by KSP itself
hostmakedepends="curl msbuild-bin"
makedepends="libgdiplus"
depends="libgdiplus mono"
short_desc="Find, install, and manage mods for Kerbal Space Program"
maintainer="Eugen Zagorodniy <zag@disroot.org>"
license="MIT"
homepage="https://github.com/KSP-CKAN/CKAN"
changelog="https://raw.githubusercontent.com/KSP-CKAN/CKAN/master/CHANGELOG.md"
distfiles="https://github.com/KSP-CKAN/CKAN/archive/refs/tags/v$version.tar.gz"
checksum=7c73543bf109fd1bc7917bb1955acaab14086e709e92351d4a6b10d780d53d23
do_build() {
./build --configuration=Release
}
do_install() {
vbin debian/ckan
vman debian/ckan.1
vlicense debian/copyright
vinstall _build/ckan.exe 644 /usr/lib/ckan
vinstall debian/ckan.desktop 644 /usr/share/applications
vinstall debian/ckan.ico 644 /usr/share/icons
}