Verified Commit b57a25ac authored by Morten Linderud's avatar Morten Linderud 🏄
Browse files

test/fixtures: add pkg-debuginfo-{a,b}



This allows us to test multiple packages, which is relevant for
ftpdir-cleanup later on.
Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 55f6dd37
pkgname=pkg-debuginfo-a
pkgver=1
pkgrel=1
pkgdesc="A package named ${pkgname}"
arch=('i686' 'x86_64')
# guarantee that split debug packages are turned on
options=('strip' 'debug')
package() {
install -D /dev/null "${pkgdir}"/usr/bin/hello-1
install -D /dev/null "${pkgdir}"/../${pkgname}-debug/usr/lib/debug/usr/bin/hello-1.debug
}
pkgname=pkg-debuginfo-b
pkgver=1
pkgrel=1
pkgdesc="A package named ${pkgname}"
arch=('i686' 'x86_64')
# guarantee that split debug packages are turned on
options=('strip' 'debug')
package() {
install -D /dev/null "${pkgdir}"/usr/bin/hello-2
install -D /dev/null "${pkgdir}"/../${pkgname}-debug/usr/lib/debug/usr/bin/hello-2.debug
}
Supports Markdown
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