blob: 541ad646c74c3c39b306b054c240c1a14d64d425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer : Vassilis Palassopoulos <palasso [at] gmail [dot] com>
pkgname=ecere-sdk
pkgver=0.44.15
pkgrel=1
pkgdesc="A SDK for building cross-platform GUI and graphics apps using the eC language"
arch=('i686' 'x86_64')
url="http://ecere.org/"
license=('BSD')
depends=('libxrender' 'libgl' 'giflib' 'libjpeg' 'libpng' 'sqlite' 'alsa-lib' 'ttf-font')
optdepends=('upx: support for compressing built binaries')
provides=('ecere-sdk')
conflicts=('ecere-sdk-git')
options=('!strip' 'staticlibs')
source=("https://github.com/ecere/ecere-sdk/archive/${pkgver}.tar.gz")
md5sums=('b029a6be39cb3d5b6834eb63ea8b1725')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make CFLAGS="$(pkg-config libffi --cflags)" ENABLE_SSL=y
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" install
sed -ni '/\ \ \ Copyright/,/SUCH\ DAMAGE/p' LICENSE
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
find "${pkgdir}/usr/share/ecere/samples" -type d -exec chmod -R 755 '{}' \;
find "${pkgdir}/usr/share/ecere/samples" -type f -exec chmod -R 644 '{}' \;
chmod 644 "${pkgdir}/usr/lib/libecereVanilla.a"
}
|