summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a0cec96389f277c62610219ee263f44ba041265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Your Name <hexisXz>
pkgname=ps-lookup
pkgver=1.0
pkgrel=1
pkgdesc="a simple and easy to use command line app that searches for the process you enter."
arch=(x86_64)
url="https://github.com/hexisXz/ps-lookup.git"
license=('GPL')
source=("ps-lookup::git+https://github.com/hexisXz/ps-lookup.git")
md5sums=('SKIP')

pkgver() {
    cd "$pkgname"
    printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$pkgname"
    install -Dm755 ps-lookup "$pkgdir/usr/bin"
}