diff options
author | Pi-Yueh Chuang | 2020-06-03 20:16:14 -0400 |
---|---|---|
committer | Pi-Yueh Chuang | 2020-06-03 20:16:14 -0400 |
commit | d16b50d751642441a409f278bf64703f0e0d89e4 (patch) | |
tree | fe09a1e45dfd84142bf1fc5e83090430dcf65a49 /PKGBUILD | |
parent | adbfaf1e7ccee9ac56b9672bc54f0d87e4131578 (diff) | |
download | aur-mdpreview-git.tar.gz |
fix link
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,8 +21,16 @@ pkgver() { } package() { + + # use the original installation script cd "$_pkgname" chmod +x ./install.sh INSTALL_PATH=$pkgdir/usr ./install.sh + + # fix link + rm "$pkgdir/usr/bin/mdpreview" + ln -s /usr/lib/mdpreview/mdpreview "$pkgdir/usr/bin" + + # install license file install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$_pkgname" } |