summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f06251fd0de43074d8c5a811f5b5848cd1a67c2 (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
# Maintainer: Jacob A. Tice <jacob.a.tice@gmail.com>

pkgname=aptpik
pkgver=1.0
pkgrel=1
pkgdesc="a pikaur wrapper with syntax from debian's apt"
arch=('any')
url="https://github.com/daemonspudguy/aptpik"
license=('WTFPL')
depends=('sudo' 'pikaur')
makedepends=('git')
source=("${url}/releases//download/${pkgver}/v${pkgver}.zip")
md5sums=('SKIP')
_gitname='aptpik'
conflicts=('apt' 'apt-git' 'aptpac-git' 'aptpac')


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