forked from ghaerr/agg-2.6
-
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
Ivan Gagis
committed
Aug 29, 2023
1 parent
33fc5ed
commit d5f737a
Showing
2 changed files
with
105 additions
and
11 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
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,50 @@ | ||
# Maintainer: Ivan Gagis <[email protected]> | ||
|
||
pkgname=agg | ||
pkgver=$PACKAGE_VERSION | ||
pkgrel=1 | ||
arch=('x86_64' 'armv7h' 'aarch64') | ||
epoch= | ||
pkgdesc="Anti-grain geometry" | ||
url="http://github.com/cppfw/${pkgname}" | ||
license=('MIT') | ||
groups=() | ||
|
||
depends=() | ||
|
||
makedepends=('myci' 'prorab' 'prorab-extra') | ||
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" | ||
make test | ||
} | ||
|
||
package() { | ||
cd "$rootDir" | ||
make DESTDIR="$pkgdir" PREFIX=/usr install | ||
} |