blob: 185af09b68f4745fc2a003840c6e22b56fb48375 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: JackMacWindows <jackmacwindowslinux@gmail.com>
# Contributor: Daniel Ratcliffe <dratcliffe@gmail.com>
# Contributor: Jonathan Coates <contact@squiddev.cc>
pkgname=craftos-pc-data-git
pkgver=2.4.3.0~147+8a5d92f
pkgrel=1
epoch=
pkgdesc="ROM package for CraftOS-PC"
arch=('any')
url="https://github.com/MCJack123/craftos2-rom"
license=('CCPL')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("craftos2-rom::git+https://github.com/MCJack123/craftos2-rom.git")
noextract=()
sha256sums=(SKIP)
validpgpkeys=()
prepare() {
true
}
pkgver() {
cd "craftos2-rom"
echo "$(head -n 1 < rom/help/changelog.txt | grep -Po '## v\K[^ ]+').0~$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)"
}
build() {
true
}
check() {
true
}
package() {
mkdir -p "$pkgdir/usr/local/share/craftos"
cp -R craftos2-rom/* "$pkgdir/usr/local/share/craftos/"
}
|