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

pkgname="aptpac"
pkgver="3.2.1"
pkgrel="1"
pkgdesc="a pacman wrapper with syntax from debian's apt"
arch=('any')
url="https://github.com/FascodeNet/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"
        install -m 755 -D LICENSE "${pkgdir}/usr/share/licenses/aptpac/LICENSE"
        cd "${pkgdir}/usr/bin/"
        ln -s "aptpac" "apt"
        ln -s "aptpac" "apt-get"
}