summaryrefslogtreecommitdiffstats
path: root/abs/extra/ell/PKGBUILD
blob: 53d7b7103e293c39dc567e1c713d1aab2d9f3f77 (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
34
35
36
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Jameson Pugh <imntreal@gmail.com>

pkgname=ell
_commit=726ca36c2a494d7b22222f35a0cedf04114cdabf  # tags/0.5
pkgver=0.5
pkgrel=1
pkgdesc="Embedded Linux library"
arch=(x86_64)
url="https://git.kernel.org/pub/scm/libs/ell/ell.git/"
license=('LGPL2.1')
depends=('glibc')
makedepends=('git')
source=("git+https://git.kernel.org/pub/scm/libs/ell/ell.git/#commit=$_commit")
sha256sums=('SKIP')

prepare() {
  cd "$pkgname"
  ./bootstrap
}

build() {
  cd "$pkgname"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$pkgname"
  make -k check
}

package() {
  cd "$pkgname"
  make DESTDIR="$pkgdir/" install
}