blob: c49c7c2b3420cb866fb6706a14cc96cddf4ee4c8 (
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
|
# Maintainer: Cezar Mathe <cezarmathe@gmail.com>
pkgname=repotools
pkgver=0.1.1
pkgrel=3
pkgdesc="Utility for creating and maintaining custom user repositories."
arch=(x86_64)
url="https://github.com/cezarmathe/repotools"
license=('MIT')
depends=('git' 'aurutils')
backup=('etc/repotools.conf')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cezarmathe/repotools/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
validpgpkeys=('61C1AF95BB594AD40DEEB7103F8F89E56422CBA8')
package() {
tar -xvf "${pkgname}-${pkgver}.tar.gz"
cd "${pkgname}-${pkgver}"
install -Dm755 "repotools" "${pkgdir}/usr/bin/repotools"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
script_files=("add_remove_packages.sh"
"build_environment.sh"
"build_packages.sh"
"cycle.sh"
"help_usage.sh"
"new_meta_package.sh"
"new_repository.sh"
"pacman_entries.sh"
"sync_repositories.sh"
"update_repositories.sh"
"utils.sh")
for script_file in ${script_files[*]}
do
install -Dm 644 "modules/${script_file}" "${pkgdir}/usr/lib/${pkgname}/${script_file}"
done
install -Dm644 "repotools.conf" "${pkgdir}/etc/${pkgname}.conf"
}
|