diff options
author | Caleb Maclennan | 2023-10-03 01:57:34 +0300 |
---|---|---|
committer | Caleb Maclennan | 2023-10-03 01:57:34 +0300 |
commit | adf82b001a96d232f894681d56552e7f861acca9 (patch) | |
tree | 65cde41cce5520f7b52d7ee2f661eba55fdeba1d | |
download | aur-adf82b001a96d232f894681d56552e7f861acca9.tar.gz |
Initial upload: sile-textsubsuper 1.0.0-1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b17a7c1a5246 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = sile-textsubsuper + pkgdesc = Typographic quotation marks with the SILE typesetting system + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/Omikhleia/textsubsuper.sile + arch = any + license = MIT + makedepends = luarocks + depends = sile + depends = sile-silex + source = https://github.com/Omikhleia/textsubsuper.sile/archive/v1.0.0/textsubsuper.sile-1.0.0.tar.gz + sha256sums = 3b90ab0a61b2feb3d6bc1174e4c0559326356f3e99cbbab092e37859554251fb + +pkgname = sile-textsubsuper diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21fc77ff2a2d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |