summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ceb2a879209ab07f1b1e76d25ca91959f41525bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Asger Hautop Drewsen <asgerdrewsen@gmail.com>

pkgname=theos-git
pkgver=2.3.r10.g7a9ec0e
pkgrel=1
pkgdesc="A cross-platform suite of tools for building and deploying software for iOS and other platforms"
arch=('any')
url="https://theos.github.io/"
license=('GPL3')
depends=('perl' 'perl-compress-raw-lzma')
makedepends=()
optdepends=(
'theos-ios-toolchain: For compiling for iOS'
'theos-ios-sdks: For compiling for iOS'
)
provides=('theos')
source=("git+https://github.com/theos/theos")
sha256sums=('SKIP')

pkgver() {
	cd "theos"
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "${srcdir}/theos"
	git submodule update --init --recursive

	mkdir -p "${pkgdir}/opt"
	cp -dpr --no-preserve=ownership "${srcdir}/theos" "${pkgdir}/opt"
}