Skip to content

Instantly share code, notes, and snippets.

@yoyo308
Last active August 29, 2015 14:01
Show Gist options
  • Save yoyo308/26806ec1f38c2fd84398 to your computer and use it in GitHub Desktop.
Save yoyo308/26806ec1f38c2fd84398 to your computer and use it in GitHub Desktop.
rar PKGBUILD KaOS
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
}
@demmm
Copy link

demmm commented May 9, 2014

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
}

@yoyo308
Copy link
Author

yoyo308 commented May 9, 2014

Thanks

Fixed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment