Last active
August 29, 2015 14:01
-
-
Save yoyo308/26806ec1f38c2fd84398 to your computer and use it in GitHub Desktop.
rar PKGBUILD KaOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=rar | |
pkgver=5.0.1 | |
pkgrel=1 | |
pkgdesc="A command-line port of the rar compression utility" | |
arch=('x86_64') | |
url="http://www.rarlab.com" | |
license=('custom') | |
depends=('gcc-libs') | |
backup=('etc/rarfiles.lst') | |
source=("http://www.rarlab.com/rar/rarlinux-x64-$pkgver.tar.gz") | |
md5sums=('a8dc6fd70578809ff820d6f40d697452') | |
package() { | |
cd ${srcdir}/rar | |
install -Dm755 rar ${pkgdir}/usr/bin/rar | |
install -Dm755 rar_static ${pkgdir}/usr/bin/rar_static | |
install -Dm755 default.sfx ${pkgdir}/usr/lib/default.sfx | |
install -Dm644 rarfiles.lst ${pkgdir}/etc/rarfiles.lst | |
install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pkgname=rar
pkgver=5.0.1
pkgrel=1
pkgdesc="A command-line port of the rar compression utility"
arch=('x86_64')
url="http://www.rarlab.com"
license=('custom')
depends=('gcc-libs')
backup=('etc/rarfiles.lst')
source=(http://www.rarlab.com/rar/rarlinux-x64-$pkgver.tar.gz)
md5sums=('a8dc6fd70578809ff820d6f40d697452')
package() { cd ${srcdir}/rar
install -Dm755 rar ${pkgdir}/usr/bin/rar
install -Dm755 rar_static ${pkgdir}/usr/bin/rar_static
install -Dm755 default.sfx ${pkgdir}/usr/lib/default.sfx
install -Dm644 rarfiles.lst ${pkgdir}/etc/rarfiles.lst
install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}