vpac / pkgs / lipsplit / PKGBUILD.lip
15 lines · 15 sloc · 626 bytes · 3609dfbd82867dc1034a443f8f9ced529ddbbedd
Raw
1(defpkgbuild lipsplit
2 ;; two arch-independent splits from one tree, one shared :package lambda
3 :pkgname '("lipsplit" "lipsplit-doc")
4 :pkgver "3.2"
5 :pkgrel 1
6 :pkgdesc "smoke test of split packages written in blip"
7 :arch '(:any)
8 :license "MIT"
9 :depends '("bash")
10 :source '("shared.txt")
11 :b2sums '("f7d65eb3c70eddb9257e9539ab502e85fa754f5a7389631fd3171d944dc6fa466f73f525feaa8e83f5126a29e77fdf4774b3e27f99c4da23a86e7bda5041b92f")
12 :package
13 (lambda ()
14 ;; each split runs its own invocation: (this-pkg) says which
15 (run "install -Dm644 shared.txt ~a/root-of-~a" (pkgdir) (this-pkg))))
16