aboutsummaryrefslogblamecommitdiffstats
path: root/main/unrar/APKBUILD
blob: 5863c599dee678a4951d6a1984704139b99d0f68 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
                                                     
                                                   
             
            
        
                                   
                            
          
                                  
                
                          
                                                          
                       
                           
 
         
                                                  
 
 
           

                                          
                                    
                                                                 

 
                                                                                                                                                                   
                                                                                                                                                 
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unrar
pkgver=5.9.2
pkgrel=0
pkgdesc="RAR uncompression program"
url="https://www.rarlab.com"
arch="all"
options="!check"  # No test suite.
license="custom"
subpackages="$pkgname-doc"
source="https://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz
	makefile.patch"
builddir="$srcdir/$pkgname"

build() {
	make CXX="${CXX:-g++}" STRIP=: -f makefile
}

package() {
	make DESTDIR="$pkgdir"/usr install

	install -Dm644 license.txt \
		"$pkgdir/usr/share/licenses/$pkgname/license.txt"
}

sha512sums="e48dd3327d57522aa676e8fd6e29b7133ee9921eb1525d90ddedc61716ecfeefb51a7eb3a667f4f81f21a5ce8654727617d33463a5b6a40a7bc32252fa9f25df  unrarsrc-5.9.2.tar.gz
2caa145c2fb1257c3cea1f552cba7bf8a3f8772c65c9751aad3fb5bec4957c7fefdb7bbb016c94b73d4778cef76460ddc2abafa8a12d09ebd24bcb6f1dcb263c  makefile.patch"