summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd6b59414166fc1bdffd04f5ca14225ffc1dc997 (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
# Maintainer: Abraham Levine <echo iue@trnspljc.890 | tr ietursnpl890jc acprlsurecomed>

pkgname=aptpac-git
pkgver=1.0.5faf6ec
pkgrel=1
pkgdesc="a pacman wrapper with syntax from debian's apt"
arch=('i686' 'x86_64')
url="https://github.com/alefir/aptpac"
license=('WTFPL')
depends=('sudo')
makedepends=('git')
source=('git://github.com/alefir/aptpac.git')
md5sums=('SKIP')
_gitname='aptpac'

pkgver() {
        cd "$_gitname" &&
        printf '%s.%s\n' "$(git rev-list --count HEAD)" \
                         "$(git rev-parse --short HEAD)"
}

package() {
        cd "$_gitname" &&
        install -m 755 -D aptpac "$pkgdir/usr/bin/aptpac"
}