summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 820254efdf95d0ac631d92c1574d40f911479e33 (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: FrozenCow <frozencow@gmail.com>

pkgname=libusrsctp-git
pkgver=2252.80e6e7e
pkgrel=1
pkgdesc="A portable SCTP userland stack"

arch=('i686' 'x86_64')
url="https://github.com/sctplab/usrsctp"
license=('custom')

source=("${pkgname}::git+https://github.com/sctplab/usrsctp.git")
sha256sums=('SKIP')

pkgver() {
    cd ${pkgname}
    echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

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

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