mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
27 lines
622 B
Bash
27 lines
622 B
Bash
pkgname=libgdiplus
|
|
pkgver=4.2
|
|
pkgrel=1
|
|
pkgdesc="An Open Source Implementation of the GDI+ API"
|
|
arch=('x86_64')
|
|
license=('MPL' 'LGPL')
|
|
url="http://www.mono-project.com"
|
|
depends=('libtiff' 'cairo' 'giflib' 'glib2' 'libexif')
|
|
source=(http://download.mono-project.com/sources/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
sha1sums=('af2fc5c5425286ec55b5f18726d6a0c6aaf633e6')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
sed -i -e 's/-L\${libjpeg_prefix}\/lib -ljpeg/-ljpeg/' configure
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --with-cairo=system
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
}
|