blob: 4e829f6d5b15161faa29df4434caaa57d234aa1f (
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
|
# Maintainer: Ludwig Stecher <ludwig.stecher@gmx.de>
# Contributor: Klaus Alexander Seistrup <klaus@seistrup.dk>
# -*- mode: sh -*-
pkgname='pomsky-bin'
_pkgname='pomsky'
pkgver=0.12.0
pkgrel=1
pkgdesc='A portable, modern regular expression language written in Rust (pre-compiled)'
arch=('x86_64' 'aarch64')
url='https://pomsky-lang.org/'
license=(
'Apache'
'MIT'
)
source_x86_64=("https://github.com/pomsky-lang/$_pkgname/releases/download/v$pkgver/$_pkgname-bin-x86_64-unknown-linux-gnu.tar.xz")
source_aarch64=("https://github.com/pomsky-lang/$_pkgname/releases/download/v$pkgver/$_pkgname-bin-aarch64-unknown-linux-gnu.tar.xz")
provides=("$_pkgname")
conflicts=("$_pkgname" 'rulex-rs-bin')
package() {
cd "$srcdir/$_pkgname-bin-$CARCH-unknown-linux-gnu" || exit 1
install -Dm0755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
for mdname in {CHANGELOG,README}.md; do
install -Dm0644 "$mdname" "$pkgdir/usr/share/doc/$pkgname/$mdname"
done
for license in LICENSE-{APACHE,MIT}; do
install -Dm0644 "$license" "$pkgdir/usr/share/licenses/$pkgname/$license"
done
}
sha256sums_x86_64=('4081b2f172a62b001c23f924c01cb575fe1447096188168f745546abcef89c60')
sha256sums_aarch64=('8c09de264cd22baa5c6a3bca34b56d864cd1462e3ab2e422b0366dbaebf0e1e8')
sha512sums_x86_64=('60478aa9125a98589e23f00ab14ccd1a49b35fca4e363c29d3d324498678084c0f03f2b4c0c6a5a48da0e561f07c8ccf65589551b46abd585a6281a9d4a098bf')
sha512sums_aarch64=('81d5f3d6bb322380aec7b3f14059fdc99d3f0f4a37be30c7d8783ba3d791ab3b3b1953ecfcf52020221238540918dd043b26bba6ad0eb20f35507cac49cb9329')
b2sums_x86_64=('07f17845730c26fb16c85fb74703cda8a669b9a7076bcdbbab50992aa9d4ae539376cb77220b34964d5546d45c222a3857a61ae085ea6e77bc8f9447b92e46a1')
b2sums_aarch64=('7ca91eb9e51bad880cfaa0e781c8bf5a512343dc8fd45ece4cad3370dfeea9b1d72feead27d07007b2baa3db67d9ce98371d6babcace24195ee1fc41457f1845')
# eof
|