blob: 21fc77ff2a2ddd747fd5d52a40f0b4aa933fce96 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_rockname=textsubsuper.sile
pkgname=("sile-${_rockname%.sile}")
pkgver=1.0.0
_rockrel=1
pkgrel=1
pkgdesc='Typographic quotation marks with the SILE typesetting system'
arch=(any)
url="https://github.com/Omikhleia/$_rockname"
license=(MIT)
_siledeps=(silex)
depends=(sile
"${_siledeps[@]/#/sile-}")
makedepends=(luarocks)
_archive="$_rockname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('3b90ab0a61b2feb3d6bc1174e4c0559326356f3e99cbbab092e37859554251fb')
package() {
cd "$_archive"
luarocks --lua-version="5.1" --tree="$pkgdir/usr/" \
make --deps-mode=none --no-manifest "$_rockname-$pkgver-$_rockrel.rockspec"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
|