diff options
author | hayao | 2020-03-07 12:48:24 +0900 |
---|---|---|
committer | hayao | 2020-03-07 12:48:24 +0900 |
commit | 3579220a28ad71ec1ea8c8ded1bcb74e1024828a (patch) | |
tree | aff511fe81cd27e3928d518ef65926d96a59a4fa | |
parent | a9869e1d341a5dfe7ef5bfff3e048b5804f187ad (diff) | |
download | aur-3579220a28ad71ec1ea8c8ded1bcb74e1024828a.tar.gz |
Fixed symbolic links.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = aptpac pkgdesc = a pacman wrapper with syntax from debian's apt pkgver = 2.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Hayao0819/aptpac arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ pkgname=aptpac pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="a pacman wrapper with syntax from debian's apt" arch=('i686' 'x86_64') url="https://github.com/Hayao0819/aptpac" @@ -19,6 +19,7 @@ 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" + cd "${pkgdir}/usr/bin/" + ln -s "aptpac" "apt" + ln -s "aptpac" "apt-get" } |