-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 changed file
with
63 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,63 @@ | ||
# Maintainer: Ivan Gagis <[email protected]> | ||
|
||
pkgname=veg | ||
pkgver=$PACKAGE_VERSION | ||
pkgrel=1 | ||
arch=('x86_64' 'armv7h' 'aarch64') | ||
epoch= | ||
pkgdesc="SVG rendering library in C++" | ||
url="http://github.com/cppfw/${packageName}" | ||
license=('MIT') | ||
groups=() | ||
|
||
depends=( | ||
"utki" | ||
"agg" | ||
"rasterimage" | ||
) | ||
|
||
makedepends=( | ||
'myci' | ||
'prorab' | ||
'prorab-extra' | ||
'doxygen' | ||
"clang" # for clang-tidy and clang-format | ||
"r4" | ||
"tst" | ||
) | ||
checkdepends=('myci') | ||
optdepends=() | ||
provides=() | ||
conflicts=() | ||
replaces=() | ||
backup=() | ||
options=() | ||
install= | ||
changelog= | ||
source=() # do not download any sources | ||
noextract=() | ||
md5sums=() | ||
validpgpkeys=() | ||
|
||
rootDir=$(pwd)/.. # project root directory | ||
|
||
prepare() { | ||
cd "$rootDir" | ||
} | ||
|
||
build() { | ||
cd "$rootDir" | ||
# TODO: turn on lint when arch adopts more modern clang-tidy | ||
make lint=off | ||
} | ||
|
||
check() { | ||
cd "$rootDir" | ||
# TODO: figure out why tests fail, probably due to undeterminism in floating point operations | ||
# make test | ||
} | ||
|
||
package() { | ||
cd "$rootDir" | ||
make DESTDIR="$pkgdir" PREFIX=/usr install | ||
} |