description="Graphical version of the NuTyX cards package manager"
url="https://github.com/NuTyX/cards"

maintainer="tnut at nutyx dot org, Artemia76 at nutyx dot org"
packager="Tnut <tnut@nutyx.org>"

makedepends=(cards doxygen xorgproto fltk xorg-libx11 xorg-libxext
             xorg-libxfixes xorg-libxft xorg-libxinerama mesa)

name=flcards
version=2.6.3

# [ "$release" != "1" ] &&  patchname="flcards-$version-consolidate-$release.patch"

source=(https://downloads.tuxfamily.org/nutyx/files/cards-$version.tar.gz)

[ -z "$patchname" ] || source+=" $patchname"

build() {

cd cards-$version
[ -z "$patchname" ] || patch -Np1 -i ../$patchname

make flcards
cd fltk
make DESTDIR=$PKG install
}
