summaryrefslogtreecommitdiff
path: root/extra/eina/PKGBUILD
blob: 98f556bd0cf7a0c3b3b1cca75327c73973d3e295 (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
# $Id: PKGBUILD 171651 2012-11-20 21:46:00Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>

pkgname=eina
pkgver=1.7.1
pkgrel=1
pkgdesc="E17 file chunk reading/writing library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('LGPL2.1')
depends=('glibc')
options=('!libtool' '!emptydirs')
source=(http://download.enlightenment.org/releases/eina-1.7.1.tar.gz)
sha1sums=('6d5d7344aed93a71edf9c7cccf3d3c8bc28043a7')

build() {
   cd $srcdir/$pkgname-$pkgver

  export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}"
  export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
  export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed  ${LDFLAGS}"

  ./configure --prefix=/usr --enable-amalgamation
  make
}

package(){
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}