blob: a87f50657c32a6e5df7c265f8db5b64a6f3e5e7f (
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
|
# Maintainer: Whyme Lyu <callme5long@gmail.com>
_pkgname=p3wm
pkgname=p3wm-git
pkgver=0.1.1.r0.54d0753 # not used anyway
pkgrel=1
pkgdesc="3-way merge .pacnew files"
arch=('any')
url="https://github.com/5long/p3wm"
license=('custom:ISC')
groups=()
depends=(
'bash'
'coreutils'
'git'
'pacman'
'sed'
'tar'
)
optdepends=(
'meld: default merge tool'
'vim: default merge tool'
)
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/5long/$_pkgname")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
package() {
cd "$_pkgname"
install -m=0755 -Dt "$pkgdir/usr/bin" bin/p3wm
install -m=0644 -Dt "$pkgdir/usr/share/licenses" LICENSE
}
|