summaryrefslogtreecommitdiff
path: root/packages/sys-fs/duperemove/duperemove.exlib
blob: 042523d7af454f785e7e03083858db18323318fd (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
# Distributed under the terms of the GNU General Public License v2                                                                      
# Copyright 2019 Gluzskiy Alexandr <sss@sss.chaoslab.ru>

require github [ user=markfasheh tag=v${PV} ]

export_exlib_phases src_prepare

SLOT="0"
LICENCES="GPL-2"

DEPENDENCIES="
    build+run:
        dev-db/sqlite:3
        dev-libs/glib:2
"

duperemove_src_prepare() {
    edo sed -e "s/pkg-config/$(exhost --target)-pkg-config/g" -i "${WORK}"/Makefile
}

DEFAULT_SRC_INSTALL_PARAMS=(
    PREFIX="/usr"
    SBINDIR="/usr/$(exhost --target)/bin"
)