summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c18b0c768853eb5f95a68fd29033476448f63a6 (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
# Maintainer: Robert R Miller <robertrmiller@outlook.com>
# Contributor: June Tate-Gans <june@theonelab.com>

pkgname=libfixposix
pkgver=0.5
pkgrel=1
pkgdesc='Thin wrapper over POSIX syscalls'
arch=('i686' 'x86_64')
url="https://github.com/sionescu/libfixposix"
license=('Boost')
depends=('glibc')
makedepends=('git')
source=("libfixposix::git+https://github.com/sionescu/libfixposix#commit=b6bfd4a3ba9a9d2761cbf78d3a04a2d71482284e")
sha256sums=("SKIP")

prepare() {
  cd "${srcdir}/${pkgname}"
  autoreconf -fiv
}

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

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
}