(defpkgbuild lipsplit ;; two arch-independent splits from one tree, one shared :package lambda :pkgname '("lipsplit" "lipsplit-doc") :pkgver "3.2" :pkgrel 1 :pkgdesc "smoke test of split packages written in blip" :arch '(:any) :license "MIT" :depends '("bash") :source '("shared.txt") :b2sums '("f7d65eb3c70eddb9257e9539ab502e85fa754f5a7389631fd3171d944dc6fa466f73f525feaa8e83f5126a29e77fdf4774b3e27f99c4da23a86e7bda5041b92f") :package (lambda () ;; each split runs its own invocation: (this-pkg) says which (run "install -Dm644 shared.txt ~a/root-of-~a" (pkgdir) (this-pkg))))