blob: 2a673df991972a6e209a9df8d5285942c2e46f45 (
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
|
# Maintainer: Anatol Pomozov anatol dot pomozov at g mail
pkgname=sldr
pkgver=1.2
pkgrel=1
pkgdesc='Super Light Async DNS Resolver'
arch=(i686 x86_64)
license=(GPL2)
depends=(glibc)
url='https://github.com/CesiumComputer/sldr'
source=(sldr-$pkgver.tar.gz::https://github.com/CesiumComputer/sldr/archive/$pkgver.tar.gz)
sha1sums=('216950df11e0f600233e87aa9e7ca0a303637f60')
build() {
cd sldr-$pkgver
gcc -shared -fPIC $CFLAGS $LDFLAGS sldr.c -o libsldr.so
}
package() {
cd sldr-$pkgver
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m755 libsldr.so "$pkgdir/usr/lib/libsldr.so"
install -D -m644 sldr.h "$pkgdir/usr/include/sldr.h"
}
|