User:Fstirlitz/how to upload split packages to AUR

From ArchWiki
Jump to navigation Jump to search
Warning: This hack is obsolete; AUR supports split packages natively now (though it may still be useful for customisable PKGBUILDs). You should probably prepare an .AURINFO file, however.

warning: awful, awful hack

pkgbase=pkg-split
pkgname="$pkgbase"
true && pkgname=(pkg-split1 pkg-split2)

# ...

package_pkg-split1() {
	true && pkgdesc="..."
	true && depends=(...)

	# ...
}

then makepkg --source, upload and voilá.