summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b18f4be89bd49a6d5170e30d1289fa66e149925 (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
### Arch_Linux PKGBUILD for lpclic
## Maintainer: B.H. <es_vinux@vinuxproject.org>
pkgname=lpclic
_pkgname=lpclic
pkgver=0.5.5
pkgrel=1
pkgdesc="Optimizes the command history and adds some command completion to the linphonec CLI for linphone"
arch=('any')
url="https://github.com/burt1iband/lpclic"
license=('GPL')
source=("git+${url}.git")
depends=('bash' 'bash-completion' 'sed' 'linphone')
provides=('lpclic')
conflicts=('lpclic')
md5sums=('SKIP')

package() {
cd "${srcdir}/${_pkgname}"
     install -d "$pkgdir/usr/bin"
     install -m 755 $_pkgname $pkgdir/usr/bin/
     install -d "$pkgdir/etc/lpclic"
          install -m 644 lpc_favorites "$pkgdir/etc/lpclic/"
          install -m 644 lpc.conf ${pkgdir}/etc/lpclic/
     install -d "$pkgdir/usr/share/bash-completion/"
          cp -r completions ${pkgdir}/usr/share/bash-completion/
     install -d "$pkgdir/usr/share/doc/lpclic"
          install -m 644 change.log ${pkgdir}/usr/share/doc/lpclic
          install -m 644 lpc.conf ${pkgdir}/usr/share/doc/lpclic
          install -m 644 lpc_favorites ${pkgdir}/usr/share/doc/lpclic
          install -m 644 README ${pkgdir}/usr/share/doc/lpclic
     install -d "$pkgdir/usr/share/man/man1"
          install -m 644 lpclic.1.gz $pkgdir/usr/share/man/man1/
}