summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68f89e266dfc931cd54b5fbd8259f6b0c3a2f54b (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
32
33
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>

pkgname=etrophy
pkgver=0.5.1
pkgrel=3
pkgdesc="EFL based library that manages scores, trophies and unlockables"
arch=('i686' 'x86_64')
url="http://www.enlightenment.org"
license=('BSD')
depends=('efl')
options=('!emptydirs')
source=("http://download.enlightenment.org/releases/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('4d9c2f2deb017d67909d88718f1a97e80ab611538491956995377189f780ca0d')

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

  ./configure \
    --prefix=/usr \
    --disable-static

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make install DESTDIR="${pkgdir}"

  install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/" ChangeLog NEWS README
  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" AUTHORS COPYING
}