summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4890163de4a761ba0a2c82022429fe8efda1cd3 (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
# Maintainer: Thaodan <theodorstormgrade@gmai.com>
_pkgname=libsh
pkgname=$_pkgname-git
pkgver=215b1ab
pkgrel=1
pkgdesc="shell script with some usefull functions"
url='https://github.com/Thaodan/libsh'
arch=('any')
license=('GPL2')
provides=($_pkgname)
depends=('sh' 'bash' 'coreutils' 'sed' )
source=(git+https://github.com/Thaodan/$_pkgname)
makedepends=('shpp' 'git')

pkgver() {
  cd "$srcdir/$_pkgname"
  git rev-parse --short HEAD
}

build() {
  cd $srcdir/$_pkgname/src
  make PREFIX=/usr
}	
package() {
  cd $srcdir/$_pkgname/src
  make PREFIX=$pkgdir/usr install
}
md5sums=('SKIP')