Use the Makefile to help ensure that /etc/srcpac.d is created, rather
than relying on the PKGBUILD, since the program requires it.

Signed-off-by: Loui Chang <[email protected]>
---
 Makefile |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 Makefile

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f7cf055
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+all:
+
+install: all
+       install -d ${DESTDIR}/etc/srcpac.d
+       install -d ${DESTDIR}/usr/bin
+       install -d ${DESTDIR}/usr/share/man/man1
+       install -m 755 srcpac ${DESTDIR}/usr/bin
+       install -m 644 srcpac.1 ${DESTDIR}/usr/share/man/man1
-- 
1.6.3.3

_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev

Reply via email to