summaryrefslogblamecommitdiff
path: root/user/fdupes/APKBUILD
blob: fa0891b312f952902faec12a03aff9eba4ce3855 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
            






                                                                
                                                     


                                                                                                  




                       
         


                                     


           
                                      

 
                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fdupes
pkgver=2.1.1
pkgrel=0
pkgdesc="Identify or delete duplicate files in a directory tree"
url=" "
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends="autoconf automake ncurses-dev pcre2-dev"
subpackages="$pkgname-doc"
source="fdupes-$pkgver.tar.gz::https://github.com/adrianlopezroche/fdupes/archive/v$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -vif
}

build() {
	LIBS="-ltinfow" ./configure \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e098647f57d0f9fb183b9f3c4cc36d33427edb3982763a894251c5a9f8432302329cc8d1ab5a09dc27a247065bdd40936c48d3846f1babf3300ca011a37a1b7d  fdupes-2.1.1.tar.gz"