summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6191985a32c03225ae8931ee00bb90f238e245e9 (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
# Maintainer: Karol Babioch <karol@babioch.de>
# Contributor: nullren
# Contributor: N. Izumi - izmntuk

pkgname=symlinks
pkgver=1.4.3
pkgrel=3
pkgdesc='Scan and change symbolic links'
arch=('i686' 'x86_64' 'armv7h')
license=('MIT')
depends=('glibc')
makedepends=('git')
conflicts=("$pkgname-git")
url="https://github.com/brandt/symlinks"
source=("git+https://github.com/brandt/symlinks#tag=v$pkgver")
sha256sums=('SKIP')

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

package() {
	cd "$srcdir/$pkgname"
    install -Dm0755 symlinks "$pkgdir/usr/bin/symlinks"
    install -Dm0644 Readme.md "$pkgdir/usr/share/$pkgname/README.md"
    install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm0644 symlinks.8 "$pkgdir/usr/share/man/man8/symlinks.8"
}