diff options
author | Vassilis Palassopoulos | 2015-06-08 17:55:47 +0300 |
---|---|---|
committer | Vassilis Palassopoulos | 2015-06-08 17:55:47 +0300 |
commit | 5a44c4d83bcb460eb91b645fced3f44ef15d5047 (patch) | |
tree | b69f86cdb98115c32ac56a4958c32b668573490f /PKGBUILD | |
download | aur-5a44c4d83bcb460eb91b645fced3f44ef15d5047.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a614caaffd49 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer : Vassilis Palassopoulos <palasso [at] gmail [dot] com> + +pkgname=ecere-sdk +pkgver=0.44.11 +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=('3c81cdfd86b94766a2bf89f66423ab7f') + +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" +}
\ No newline at end of file |