Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Obarun Install Themes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
Obarun Install Themes
Commits
0bafe02a
Commit
0bafe02a
authored
7 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
PKGBUILD : pass through makefile
parent
542f5be8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+21
-2
21 additions, 2 deletions
Makefile
PKGBUILD
+5
-22
5 additions, 22 deletions
PKGBUILD
with
26 additions
and
24 deletions
Makefile
+
21
−
2
View file @
0bafe02a
...
...
@@ -5,10 +5,29 @@ PKGNAME = obarun-install-themes
BINDIR
=
/usr/bin
DIRS
=
FILES
=
$$(
find
-mindepth
2
-type
f
-name
"customizeChroot"
)
DIRS
=
jwm
\
openbox
\
plasma
\
xfce4
install
:
for
i
in
$(
FILES
);
do
\
sed
-i
's,@BINDIR@,
$(
BINDIR
)
,'
$$
i
;
\
done
for
i
in
$(
DIRS
);
do
\
install
-Dm755
$$
i/customizeChroot
$(
DESTDIR
)
/var/lib/obarun/obarun-install/config/
$$
i/customizeChroot
;
\
install
-Dm644
$$
i/pacman.conf
$(
DESTDIR
)
/var/lib/obarun/obarun-install/config/
$$
i/pacman.conf
;
\
for
k
in
$$
i/package_list/
*
;
do
\
install
-Dm644
$$
k
$(
DESTDIR
)
/var/lib/obarun/obarun-install/config/
$$
k
;
\
done
;
\
cp
-aT
$$
i/rootfs
$(
DESTDIR
)
/var/lib/obarun/obarun-install/config/
$$
i/rootfs
;
\
done
install
-Dm644
PKGBUILD
$(
DESTDIR
)
/var/lib/obarun/obarun-install-themes/update_package/PKGBUILD
install
-Dm644
LICENSE
$(
DESTDIR
)
/usr/share/licenses/
$(
PKGNAME
)
/LICENSE
version
:
@
echo
$(
VERSION
)
...
...
This diff is collapsed.
Click to expand it.
PKGBUILD
+
5
−
22
View file @
0bafe02a
...
...
@@ -25,30 +25,13 @@ validpgpkeys=('6DD4217456569BA711566AC7F06E8FDE7B45DAAC') # Eric Vidal
pkgver
()
{
cd
"
${
pkgname
}
"
if
git_version
=
$(
git rev-parse
--short
HEAD
)
;
then
read
"
$rev
-parse"
<<<
"
$git_version
"
printf
'%s'
"
$git_version
"
fi
#git describe --tags | sed -e 's/_/\./g;s/-/+/g;s/^v//'
git describe
--tags
|
sed
-e
's:-:+:g;s:^v::'
}
package
()
{
cd
"
$srcdir
/
$pkgname
"
install
-dm
0755
"
$pkgdir
/usr/share/licenses/obarun-install-themes/"
install
-Dm
0644
"LICENSE"
"
$pkgdir
/usr/share/licenses/obarun-install-themes/LICENSE"
install
-Dm
0644
"PKGBUILD"
"
$pkgdir
/var/lib/obarun/obarun-install-themes/update_package/PKGBUILD"
# make a loop for all present directories
for
k
in
jwm openbox plasma xfce4
;
do
install
-Dm
0755
"
$k
/customizeChroot"
"
$pkgdir
/var/lib/obarun/obarun-install/config/
$k
/customizeChroot"
install
-Dm
0644
"
$k
/pacman.conf"
"
$pkgdir
/var/lib/obarun/obarun-install/config/
$k
/pacman.conf"
for
i
in
$k
/package_list/
*
;
do
install
-Dm
0644
"
$i
"
"
$pkgdir
/var/lib/obarun/obarun-install/config/
$i
"
unset
i
done
cp
-aT
"
$k
/rootfs"
"
$pkgdir
/var/lib/obarun/obarun-install/config/
$k
/rootfs"
unset
k
done
cd
"
${
pkgname
}
"
make
DESTDIR
=
"
$pkgdir
"
install
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment