mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 05:02:00 +01:00
initial commit
This commit is contained in:
commit
fc03ec9bca
3 changed files with 48 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
pkgbase = cecil-bin
|
||||
pkgdesc = Static site generator
|
||||
pkgver = 8.51.3
|
||||
pkgrel = 1
|
||||
url = https://cecil.app/
|
||||
arch = any
|
||||
license = mit
|
||||
depends = php>=8.1
|
||||
depends = php-gd
|
||||
options = !strip
|
||||
options = staticlibs
|
||||
source = cecil-8.51.3.phar::https://cecil.app/download/8.51.3/cecil.phar
|
||||
sha256sums = 3705f9b5f25cf4f6acd971c3c665fbb15b6044132d354bf2ccb3b7614f59728c
|
||||
|
||||
pkgname = cecil-bin
|
||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
cecil*
|
||||
src/
|
||||
pkg/
|
||||
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Maintainers: Théo Le Calvar <tlc@kher.nl>
|
||||
pkgname=cecil-bin
|
||||
pkgver=8.51.3
|
||||
pkgrel=1
|
||||
pkgdesc="Static site generator"
|
||||
url="https://cecil.app/"
|
||||
arch=(any)
|
||||
license=('mit')
|
||||
depends=('php>=8.1' 'php-gd')
|
||||
options=('!strip' 'staticlibs')
|
||||
|
||||
_pkgsrc_url="https://cecil.app/download/${pkgver}/cecil.phar"
|
||||
_pkgsrc_file="cecil-${pkgver}.phar"
|
||||
|
||||
DLAGENTS=("https::/usr/bin/curl \
|
||||
-o %o \
|
||||
-H Referer:\ %u \
|
||||
${_pkgsrc_url}"
|
||||
)
|
||||
|
||||
source=("${_pkgsrc_file}"::"${_pkgsrc_url}")
|
||||
sha256sums=('3705f9b5f25cf4f6acd971c3c665fbb15b6044132d354bf2ccb3b7614f59728c')
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/usr/bin/"
|
||||
cp "${srcdir}/${_pkgsrc_file}" "${pkgdir}/usr/bin/cecil"
|
||||
|
||||
chmod 755 "${pkgdir}/usr"
|
||||
chmod +x "${pkgdir}/usr/bin/cecil"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue