summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3608c1f8fc452deb22f048e12d55417e46042478 (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
# Maintaoner: Yamada Hayao <development@fascode.net>
# Maintainer: Abraham Levine <echo iue@trnspljc.890 | tr ietursnpl890jc acprlsurecomed>

pkgname=aptpac
pkgver=2.0.0
pkgrel=1
pkgdesc="a pacman wrapper with syntax from debian's apt"
arch=('i686' 'x86_64')
url="https://github.com/Hayao0819/aptpac"
license=('WTFPL')
depends=('sudo')
makedepends=('git')
source=("${url}/archive/v${pkgver}.zip")
md5sums=('SKIP')
_gitname='aptpac'
conflicts=('apt' 'apt-git' 'aptpac-git')


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