blob: 8a16f7a41ea80bb46e9d9e2236d7f509741794f3 (
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/arcetera/aptpac"
license=('WTFPL')
depends=('sudo')
makedepends=('git')
source=('git://github.com/arcetera/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"
}
|