summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d0f733c3e2a08f442e240779ec796af83ddd5bf (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: Chris Gregory <czipperz@gmail.com>
pkgname=libclipboard-git
pkgver=1.0.2
pkgrel=1
pkgdesc="Lightweight cross-platform C clipboard library"
url="https://github.com/czipperz/libclipboard"
arch=("i686" "x86_64")
license=("MIT")
depends=("libxcb")
makedepends=("cmake" "git")
provides=("libclipboard")
source=("git://github.com/czipperz/libclipboard")
sha256sums=("SKIP")

build() {
    cd libclipboard
    cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    make
}

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