summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9cbfd2b650ccd30a223db1e09ca7368692b7ab93 (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
_pkgname=hideIt.sh
pkgname=hideit.sh-git
pkgver=r38.0538cb3
pkgrel=1
pkgdesc="Automagically hide/show a window"
arch=('i686' 'x86_64')
url="https://github.com/Tadly/hideIt.sh"
license=('GPL3')
depends=('xdotool' 'xorg-xwininfo' 'xorg-xev')
provides=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/Tadly/hideIt.sh.git")
md5sums=('SKIP')


pkgver() {
    cd "$srcdir/$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" \
        "$(git rev-parse --short HEAD)"
}

package() {
    cd "${srcdir}/${_pkgname}"
    install -Dm755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
}