summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 454a7e380e1d21a2581ac2770f8190effc2f7e87 (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
# Maintainer: peeweep <peeweep at 0x0 dot ee>

pkgname=supersm
pkgver=0.5.1
pkgrel=2
pkgdesc="A Super Symlink Manager"
arch=("any")
url="https://github.com/peeweep/supersm"
license=('MIT')
makedepends=('boost' 'cmake')
provides=('supersm')
conflicts=('supersm-git')
source=("${pkgname}-${pkgver}.tar.gz"::${url}/archive/${pkgver}.tar.gz)
sha256sums=('8625a8241f74ac4d928c8fa9d96700bee9cef63cea38194c67bd87c0545e9584')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  cmake -Bbuild && cmake --build build
}

package() {
  install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm755 "${srcdir}/${pkgname}-${pkgver}/build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}

# vim:set ts=2 sw=2 et: