-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgbase=purc | ||
pkgname=purc | ||
pkgver=0.9.0 | ||
pkgrel=1 | ||
pkgdesc="The prime HVML interpreter for C Language." | ||
arch=('any') | ||
url="https://github.com/HVML/PurC" | ||
license=('LGPL-3.0') | ||
groups=('hvml') | ||
provides=(${pkgname} 'PurC') | ||
conflicts=(${pkgname}) | ||
replaces=() | ||
depends=(glib2 bison flex) | ||
makedepends=(cmake ninja ccache gcc python libxml2 ruby curl openssl sqlite pkgconf zlib icu) | ||
optdepends=('purc-midnight-commander: A generic HVML renderer in text mode for development and debugging.' | ||
'webkit2gtk-hvml: Web content engine for GTK (HVML)' | ||
'xguipro: xGUI (the X Graphics User Interface) Pro is a modern, cross-platform, and advanced HVML renderer which is based on tailored WebKit.') | ||
backup=() | ||
options=('!strip') | ||
#install=${pkgname}.install | ||
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/ver-${pkgver}.tar.gz") | ||
sha256sums=('4fc77860b060a8d1ac54eac09e4c92e95e527e85308a2ff736c892c9d5e5b72a') | ||
|
||
build() { | ||
cd "${srcdir}/PurC-ver-${pkgver}/" | ||
|
||
# Ninja build | ||
cmake -DCMAKE_BUILD_TYPE=Release \ | ||
-DPORT=Linux \ | ||
-DENABLE_API_TESTS=OFF \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DCMAKE_INSTALL_LIBDIR=lib \ | ||
-DCMAKE_INSTALL_LIBEXECDIR=lib \ | ||
-B build \ | ||
-G Ninja | ||
|
||
ninja -C build | ||
} | ||
|
||
package() { | ||
# ninja install | ||
DESTDIR="${pkgdir}" ninja -C "${srcdir}"/PurC-ver-${pkgver}/build install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
|
||
pre_build_script: | | ||
update_pkgver_and_pkgrel(_G.newver) | ||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_aur_repo() | ||
update_on: | ||
- source: github | ||
github: HVML/PurC | ||
use_latest_release: true | ||
prefix: v |