mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 15:29:38 +01:00
Initial import
This commit is contained in:
commit
b402c364a3
2 changed files with 51 additions and 0 deletions
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pkgbase = nicolino
|
||||
pkgdesc = A fast, modular static site generator written in Crystal
|
||||
pkgver = 0.13.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/ralsina/nicolino
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
depends = crystal>=1.19.0
|
||||
depends = pandoc
|
||||
depends = libvips
|
||||
depends = libyaml
|
||||
makedepends = shards
|
||||
makedepends = git
|
||||
optdepends = python-pygments: for code syntax highlighting
|
||||
source = nicolino-0.13.0::git+https://github.com/ralsina/nicolino.git#tag=v0.13.0
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = nicolino
|
||||
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Roberto Alsina <ralsina@kde.org>
|
||||
pkgname=nicolino
|
||||
pkgver=0.13.0
|
||||
pkgrel=1
|
||||
pkgdesc="A fast, modular static site generator written in Crystal"
|
||||
arch=("x86_64" "aarch64")
|
||||
url="https://github.com/ralsina/nicolino"
|
||||
license=("MIT")
|
||||
depends=("crystal>=1.19.0" "pandoc" "libvips" "libyaml")
|
||||
makedepends=("shards" "git")
|
||||
optdepends=("python-pygments: for code syntax highlighting")
|
||||
source=("$pkgname-$pkgver::git+https://github.com/ralsina/nicolino.git#tag=v$pkgver")
|
||||
sha256sums=("SKIP")
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
shards build --release --error-trace
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
# Install binary
|
||||
install -Dm755 "bin/nicolino" "$pkgdir/usr/bin/nicolino"
|
||||
|
||||
# Install templates and themes
|
||||
mkdir -p "$pkgdir/usr/share/nicolino"
|
||||
cp -r themes "$pkgdir/usr/share/nicolino/"
|
||||
|
||||
# Install license
|
||||
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue