From: Matthew Monaco <matthew.monaco@0x01b.net> --- .gitignore | 5 +++++ archlinux/PKGBUILD | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 archlinux/PKGBUILD diff --git a/.gitignore b/.gitignore index 203f504..bb4def3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,8 @@ cryptmount *.8 *.5 + +# Arch Linux Files +archlinux/src +archlinux/pkg +archlinux/*.tar.* diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD new file mode 100644 index 0000000..158dc49 --- /dev/null +++ b/archlinux/PKGBUILD @@ -0,0 +1,25 @@ + +pkgname=cryptmount +pkgver=$(date +%Y%m%d) +pkgrel=1 +pkgdesc="Standardized crypttab handler for cryptsetup" +arch=('any') +url="https://github.com/mmonaco/cryptmount" +license=('GPL') +depends=('cryptsetup') +makedepends=('asciidoc') + +source=() +md5sums=() + +build() { + cd "$startdir" + make -C ../ all +} + +package() { + cd "$startdir" + make -C ../ DESTDIR="$pkgdir" PREFIX="/usr" install install_hook +} + +# vim: set noet : -- 1.7.10.2