-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
79 lines (67 loc) · 1.97 KB
/
PKGBUILD
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# Copyright (C) 2018-2024 CASM Organization <https://casm-lang.org>
# All rights reserved.
#
# Developed by: Philipp Paulweber et al.
# <https://github.com/casm-lang/casm-lang.pkg.archlinux/graphs/contributors>
#
# This file is part of casm-lang.pkg.archlinux.
#
# casm-lang.pkg.archlinux is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# casm-lang.pkg.archlinux is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with casm-lang.pkg.archlinux. If not, see <http://www.gnu.org/licenses/>.
#
# Maintainer: Philipp Paulweber <ppaulweber@casm-lang.org>
pkgname=casm
pkgver=0.6.0
pkgrel=1
pkgdesc="Corinthian Abstract State Machine (CASM)"
arch=('x86_64')
url="https://casm-lang.org"
license=('GPL3')
groups=('casm')
# depends=()
# makedepends=()
# checkdepends=()
# optdepends=()
provides=( "${pkgname}")
conflicts=("${pkgname}")
# replaces=()
# backup=()
# options=()
# install=
# changelog=
# source=("$pkgname-$pkgver.tar.gz"
# "$pkgname-$pkgver.patch")
# noextract=()
# md5sums=()
sha256sums=('84205e16af98fbc7124ed9f5f1269825e3288b72fb549647c33e025d65538d87')
# validpgpkeys=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/casm-lang/casm/releases/download/${pkgver}/${pkgname}-linux-$CARCH.tar.gz")
# prepare() {
# cd "$pkgname-$pkgver"
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
# }
build() {
cd "$pkgname-$pkgver"
file bin/*
}
# check() {
# cd "$pkgname-$pkgver"
# make -k check
# }
package() {
cd "$pkgname-$pkgver"
mkdir -p ${pkgdir}/usr
cp -r ./* ${pkgdir}/usr/
chmod +x ${pkgdir}/usr/bin/*
}