-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
35 lines (29 loc) · 782 Bytes
/
PKGBUILD
File metadata and controls
35 lines (29 loc) · 782 Bytes
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
# Maintainer: Grayson Giles <amnesia1337 at proton.me>
pkgname=lainos-calamares-config
pkgver=73
pkgrel=1
pkgdesc="Calamares for LainOS"
arch=('any')
url="https://github.com/The-LainOS-Project"
license=('GPL3')
makedepends=('git')
provides=("${pkgname}")
options=(!strip !emptydirs)
source=(${pkgname}::"git+${url}/${pkgname}")
sha256sums=('SKIP')
if [ -e "${pkgname}.install" ];then
install=${pkgname}.install
fi
package() {
InternalDir="${srcdir}/${pkgname}"
# Copy files
if [ -d "${InternalDir}/usr" ]; then
cp -r "${InternalDir}/usr" "${pkgdir}/"
fi
if [ -d "${InternalDir}/etc" ]; then
cp -r "${InternalDir}/etc" "${pkgdir}/"
fi
if [ -d "${InternalDir}/opt" ]; then
cp -r "${InternalDir}/opt" "${pkgdir}/"
fi
}