summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80f52abb012f6e61366a08e61fb1671cfc634ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Contributor: Kyle Keen <keenerd@gmail.com>
# Maintainer : Daniel Bermond <dbermond@archlinux.org>

pkgname=littleutils
pkgver=1.2.7
pkgrel=1
pkgdesc='Utilities for compression, file manipulation, text cleanup, and images/PDF optimization'
arch=('x86_64')
url='https://sourceforge.net/projects/littleutils/'
license=('LicenseRef-Custom')
depends=(
    '7zip'
    'bash'
    'bzip2'
    'bzip3'
    'file'
    'gifsicle'
    'ghostscript'
    'gzip'
    'img2pdf'
    'imlib2'
    'libjpeg-turbo'
    'libpng'
    'lzip'
    'lzma_alone'
    'lzop'
    'perl'
    'perl-cryptx'
    'pngcrush'
    'pngquant'
    'poppler'
    'python'
    'python-rarfile'
    'xz'
    'zstd')
optdepends=('wget: for download capability in the to-* recompression utilities')
conflicts=('file-rename-utils')
source=("https://sourceforge.net/projects/littleutils/files/littleutils-source/${pkgver}/littleutils-${pkgver}.tar.lz")
sha256sums=('c9a28acb408bc36d8f9c6e05ff4b59284a875785c4a30ed5baefe63bb53bfe6a')

build() {
    cd "littleutils-${pkgver}"
    ./configure --prefix='/usr'
    make
}

package() {
    make -C "littleutils-${pkgver}" DESTDIR="$pkgdir" install{,-extra}
    install -D -m644 "littleutils-${pkgver}/LICENSES" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}