summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58699095f994ea9cd1146e91227a0d9710d77adc (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
# Maintainer: Maciej Łoziński <maciej@robotix-lozinski.pl>
pkgname="red-nightly-bin"
pkgver=r4721.08feb24.1c3cd7363
pkgrel=1
pkgdesc="Red is a next-generation programming language strongly inspired by Rebol"
arch=(x86_64)
url="https://www.red-lang.org"
license=('custom:BSD-3-Clause' 'custom:BSL-1.0')
depends=(lib32-curl)
makedepends=(wget)
optdepends=(
	'openssh: for X11 forwarding on headless machines'
	'xorg-xhost: for X11 forwarding on headless machines'
	'xorg-xauth: for X11 forwarding on headless machines')
provides=(red)
conflicts=(red ed)
options=(!strip)
source=(
	"https://static.red-lang.org/dl/auto/linux/red-08feb24-1c3cd7363"
	"https://raw.githubusercontent.com/red/red/master/BSL-License.txt"
	"https://raw.githubusercontent.com/red/red/master/BSD-3-License.txt")
sha256sums=(
	'166c37d6e29b452baf6a3ec88aa279c4381aa2dc0a2824450b64cd7f347affcf'
	'c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566'
	'e64d257131093ad15b757d19181e02e3a48a2cccabe14aebf153e91a5a3735a8')


package() {
	cd "$srcdir"

	install -Dm755 red-08feb24-1c3cd7363 "$pkgdir/usr/bin/red"

	install -dm755 "${pkgdir}/usr/share/licenses/$pkgname"
	install -Dm644 BSL-License.txt "$pkgdir/usr/share/licenses/$pkgname/BSL-License.txt"
	install -Dm644 BSD-3-License.txt "$pkgdir/usr/share/licenses/$pkgname/BSD-3-License.txt"
}