summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93e1ce4445db3acb46d7db083501bb7b29346e15 (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: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: FĂ©lix Faisant <xcodexif@xif.fr>

set -u
pkgname='nopoll'
pkgver='0.3.2.b232'
pkgrel='1'
pkgdesc='Websocket library written in C'
arch=('i686' 'x86_64')
url='http://www.aspl.es/nopoll/'
license=('LGPL')
depends=('openssl')
source=("http://www.aspl.es/nopoll/downloads/nopoll-${pkgver}.tar.gz")
sha256sums=('a1a25dcfe8406fcd355568ab0331f24eeec011a7b272df7b34a16db4a283b834')

prepare() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix='/usr' --enable-maintainer-mode
  set +u
}

build() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  make -s -j "$(nproc)"
  set +u
}

package() {
  set -u
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}/" install
  set +u
}
set +u