diff options
author | Bryan Ischo <bji@lolita.(none)> | 2009-01-21 15:24:04 +1300 |
---|---|---|
committer | Bryan Ischo <bji@lolita.(none)> | 2009-01-21 15:24:04 +1300 |
commit | 9c74517908efb54d8921cd95bd3cb250775a6837 (patch) | |
tree | 5ad953b92407d529de551eed44f1c76bf05c84d7 /archlinux | |
parent | e36f6a34362f2af314e2bf240df11e1931bc60b4 (diff) | |
download | ceph-libs3-9c74517908efb54d8921cd95bd3cb250775a6837.tar.gz |
Ignore build directory in git, and add the first version of a PKGBUILD
template for Arch Linux builds.
Diffstat (limited to 'archlinux')
-rw-r--r-- | archlinux/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD new file mode 100644 index 0000000..162fade --- /dev/null +++ b/archlinux/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Bryan Ischo <bryan@ischo.com> +pkgname=libs3 +pkgver=trunk +pkgrel=1 +pkgdesc="C Library and Tools for Amazon S3 Access" +arch=('i686' 'x86_64') +url="http://libs3.ischo.com/index.html" +license=('GPL') +groups=() +depends=('libxml2' 'openssl') +makedepends=('make') +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +source=($pkgname-$pkgver.tar.gz) +noextract=() +md5sums=('source md5') #generate with 'makepkg -g' + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make exported || return 1 + cp -a build/{bin,include,lib} $pkgdir +} + +# vim:set ts=2 sw=2 et: |