blob: 9e1413e4adc3dd14b8fab6b653aa74bd4b843640 (
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
37
38
39
40
41
|
# Maintainer: Ilja KartaĊĦov <ik@lowenware.com>
pkgname=aisl-git
_pkgname=aisl
pkgver=1.0.3
pkgrel=1
pkgdesc="Asynchronous Internet Server Library"
url="https://lowenware.com/aisl/"
arch=('i686' 'x86_64')
license=('CCPL')
depends=('openssl')
makedepends=('git')
provides=('libaisl')
conflicts=('libaisl')
epoch=1
source=("git+https://github.com/lowenware/aisl.git")
md5sums=('SKIP')
pkgver(){
cd $_pkgname
git describe --tags | sed 's/-/./g'
}
prepare() {
cd $_pkgname
sed 's/usr\/local/usr/g' libaisl.pc.example > libaisl.pc
}
build() {
cd $_pkgname
make PREFIX=/usr
}
package() {
cd $_pkgname
make PREFIX=/usr DESTDIR="$pkgdir" install
install -m644 -D LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -m644 -D libaisl.pc "$pkgdir/usr/lib/pkgconfig/libaisl.pc"
}
|