summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec00837034f406237594905f4592e72c1107b9af (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
# Maintainer: tinywrkb <tinywrkb@gmail.com>
# Contributor: Vincent gatine <nurelin15@gmail.com>

pkgname=genext2fs
pkgver=1.5.0
pkgrel=1
pkgdesc="ext2 filesystem generator for embedded systems"
arch=(i686 x86_64)
url="http://genext2fs.sourceforge.net"
license=('GPL2')
depends=('glibc')
makedepends=()
source=("https://github.com/bestouff/genext2fs/archive/v${pkgver}.tar.gz")
sha256sums=('d3861e4fe89131bd21fbd25cf0b683b727b5c030c4c336fadcd738ada830aab0')

build() {
  cd ${pkgname}-${pkgver}
  ./autogen.sh
  ./configure --prefix=/usr \
  make
}

check() {
  cd ${pkgname}-${pkgver}
  make check
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim: ts=2 sw=2 et