From 285ee68f879b655b50a7d8cb4d8c27c1fc82dd27 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernandez Date: Sun, 29 May 2011 23:19:16 -0500 Subject: * librerepkg uses makepkg -p and source PKGBUILD * rePKGBUILD.proto for /usr/share/pacman --- rePKGBUILD.proto | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 rePKGBUILD.proto (limited to 'rePKGBUILD.proto') diff --git a/rePKGBUILD.proto b/rePKGBUILD.proto new file mode 100644 index 0000000..17342ce --- /dev/null +++ b/rePKGBUILD.proto @@ -0,0 +1,28 @@ +# This is an example rePKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Your Name +source PKGBUILD +unset build package md5sums source +_repo= +source=(PKGBUILD + http://mirrors.kernel.org/archlinux/${_repo}/os/$CARCH/$pkgname-$pkgver.tar.gz + # files for pkg modifications + ) + +build() { + cd "${srcdir}/" + rm .{INSTALL,PKGINFO} $_pkgbase-$pkgver-$_pkgrel-$CARCH.pkg.tar.xz + # actions for package modifications + # be sure to remove source files +} + +package() { + cd ${srcdir} + cp -a ./* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: \ No newline at end of file -- cgit v1.2.2