summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: edf9e97465f7cb22724255294a8883ea9c31e3fc (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
# Maintainer: Matteo De Carlo matteo [dot] dek [at] gmail [dot] com
pkgname=libdlibxx
_srcname="$pkgname"
pkgver=1.1.0
_srctag="v${pkgver}"
pkgrel=1
pkgdesc="A generalized C++ wrapper around the POSIX dynamic libraries functions dlopen, dlsym, dlclose, etc."
arch=('x86_64')
url="https://github.com/m-renaud/libdlibxx"
license=('BSD 2-Clause')
makedepends=('git' 'cmake')
source=("$_srcname::git+https://github.com/m-renaud/libdlibxx.git#tag=$_srctag")
sha256sums=('SKIP')

prepare() {
    cd "$srcdir/${_srcname}"
    mkdir -p build
    cd build
    cmake -D CMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
}

build() {
    cd "$srcdir/${_srcname}"
    cd build
    make
}

package() {
    cd "$srcdir/${_srcname}"
    cd build
    make install
}