summaryrefslogtreecommitdiff
path: root/packages/app-misc/jdupes/jdupes-scm.exheres-0
blob: 4b9d746b0fb09b35c4eb6f3b24b46d7d6960e77c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Distributed under the terms of the GNU General Public License v2
# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>

require github [ user=jbruchon ]

DOWNLOADS=""
SUMMARY="Identify/delete duplicate files residing within specified directories"
HOMEPAGE="https://github.com/jbruchon/jdupes"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
RESTRICT="test"

src_install() {
    default
    edo cd "${IMAGE}"
    nonfatal edo mkdir -p usr/$(exhost --target)/bin
    edo mv usr/bin/* usr/$(exhost --target)/bin/
    edo rmdir usr/bin
}