testing/cimg: new aport

http://cimg.eu
Small C++ toolkit for image processing
This commit is contained in:
Grigory Kirillov 2022-04-11 17:08:17 +03:00 committed by alice
parent ce0ba4328a
commit 5fa55a67b3

23
testing/cimg/APKBUILD Normal file
View File

@ -0,0 +1,23 @@
# Contributor: Grigory Kirillov <txgk@bk.ru>
# Maintainer: Grigory Kirillov <txgk@bk.ru>
pkgname=cimg
pkgver=3.0.2
pkgrel=0
pkgdesc="Small C++ toolkit for image processing"
url="http://cimg.eu"
arch="noarch"
license="CECILL-C OR CECILL-2.0"
options="!check" # no test suite
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/dtschump/CImg/archive/v.$pkgver/CImg-v.$pkgver.tar.gz"
builddir="$srcdir/CImg-v.$pkgver"
package() {
install -Dm644 CImg.h -t "$pkgdir"/usr/include/
install -Dm644 plugins/*.h -t "$pkgdir"/usr/include/CImg/plugins/
install -Dm644 Licence_* -t "$pkgdir"/usr/share/licenses/"$pkgname"/
}
sha512sums="
361a2af7f585b40b8ef1faebb4d3e0d61199b2b65764c32f9ff90fec896b607cf785f8d8ff357ec31cab7b03a8cc8399f3feedc720ed43dd29663ef18ec1d676 CImg-v.3.0.2.tar.gz
"