blob: c55402cb2449d6899170608b05bf842ea06a6b2f (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Taylor Allen
pkgname=shortsync-git
pkgver=1.r3.2eecf24
pkgrel=1
epoch=
pkgdesc="This application makes it easy to keep track of alias, file, and folder shortcuts across multiple applications and shells."
arch=(x86_64 i686)
url="https://github.com/taylo2allen/shortsync.git"
license=('MIT')
groups=()
depends=()
makedepends=('git' 'glibc' 'gcc-libs' 'yaml-cpp')
checkdepends=()
optdepends=('entr')
provides=('shortsync')
conflicts=()
replaces=('shortsync')
backup=()
options=()
install=
changelog=
source=(git+$url)
noextract=()
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd shortsync
printf "1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd shortsync
make
}
package() {
cd shortsync
mkdir -p $HOME/.config/shortsync/
cp -nru config/* -t /$HOME/.config/shortsync
install -Dm755 bin/$pkgname "$pkgdir/usr/local/bin/$pkgname"
install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.org "$pkgdir/usr/share/doc/$pkgname/README.org"
}
|