Commit 558dcf28 authored by Julien Muchembled's avatar Julien Muchembled

re6st: fix OBS package for Archlinux

Shipping binaries in /usr/sbin fails because /usr/sbin is a symlink
to /usr/bin. Similarly, /lib is a symlink to /usr/lib.

https://wiki.archlinux.org/index.php/Frequently_asked_questions#Does_Arch_follow_the_Linux_Foundation's_Filesystem_Hierarchy_Standard_(FHS)?
parent 055ffef4
...@@ -20,4 +20,8 @@ build() { ...@@ -20,4 +20,8 @@ build() {
package() { package() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" PREFIX=/usr install make DESTDIR="$pkgdir" PREFIX=/usr install
cd "$pkgdir/usr"
mv ../lib .
mv sbin/* bin
rmdir sbin
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment