Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
27 lines
401 B
Bash
27 lines
401 B
Bash
pkgbase=foobar
|
|
pkgname=('foo' 'bar')
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="Split package example"
|
|
arch=(x86_64)
|
|
url="https://example.org"
|
|
depends=('glibc')
|
|
source=("foobar-1.0.tar.gz")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$srcdir"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package_foo() {
|
|
cd "$srcdir"
|
|
make DESTDIR="$pkgdir" install-foo
|
|
}
|
|
|
|
package_bar() {
|
|
cd "$srcdir"
|
|
make DESTDIR="$pkgdir" install-bar
|
|
}
|