50 lines
1020 B
Bash
50 lines
1020 B
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libcroco
|
|
pkgver=0.6.13
|
|
pkgrel=02
|
|
pkgdesc="A CSS parsing library"
|
|
url="https://gitlab.gnome.org/GNOME/libcroco"
|
|
arch=(x86_64)
|
|
groups=()
|
|
depends=(glib2 libxml2)
|
|
makedepends=(intltool git gtk-doc)
|
|
_commit=7e15ca6c2c29a4b78367e6efa6195b331a92b2a7 # tags/0.6.13^0
|
|
source=("git+https://gitlab.gnome.org/GNOME/libcroco.git#commit=$_commit")
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname
|
|
make check
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr --disable-static --enable-gtk-doc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(LGPL)
|
|
|
|
sha256sums=('SKIP')
|