blob: b5cabec062fd32dbad75a0077a04410ba40de72a (
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
29
30
31
|
# Maintainer: Yamada Hayao <development@fascode.net>
# Contributor: Abraham Levine <echo iue@trnspljc.890 | tr ietursnpl890jc acprlsurecomed>
_gitname='aptpac'
pkgname="${_gitname}-git"
pkgdesc="a pacman wrapper with syntax from debian's apt"
pkgver=112.b67b9ec
pkgrel=1
arch=('any')
url="https://github.com/FascodeNet/aptpac"
license=('WTFPL')
makedepends=('git')
conflicts=('apt' 'apt-git' 'aptpac')
source=('git+https://github.com/FascodeNet/aptpac.git')
md5sums=('SKIP')
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"
install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
cd "${pkgdir}/usr/bin/"
ln -s "aptpac" "apt"
ln -s "aptpac" "apt-get"
}
|