aboutsummaryrefslogblamecommitdiffstats
path: root/community/mktorrent/APKBUILD
blob: 265445202a8f683461efbd5bb843cb0df5b1ee81 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
                 
          
        
                                                  
                                        
          
                          
                                   
                          
                                                                                            
 
         



            
                                  


           
                                                            
                                                                             

 
                                                                                                                                                                   
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:  Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
pkgver=1.1
pkgrel=4
pkgdesc="A handy tool for creating .torrent files"
url="https://github.com/Rudde/mktorrent"
arch="all"
license="GPL-2.0-or-later"
makedepends="openssl1.1-compat-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Rudde/mktorrent/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	./mktorrent -h > /dev/null
}

package() {
	install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent
	install -D -m644 COPYING $pkgdir/usr/share/licenses/mktorrent/COPYING
}

sha512sums="2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859  mktorrent-1.1.tar.gz"