diff options
author | Graham Edgecombe | 2016-04-02 20:28:23 +0100 |
---|---|---|
committer | Graham Edgecombe | 2016-04-02 20:28:37 +0100 |
commit | 1081e6a33e6c7b2bcb8cdc46fa19a4e060f7190d (patch) | |
tree | 6e8ae047694e1fb76ed3ecd5b39a439ddb73e2f6 | |
download | aur-postgresql-uint-git.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..428bdd18228a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sat Apr 2 19:28:16 UTC 2016 +pkgbase = postgresql-uint-git + pkgdesc = Unsigned integer types extension for PostgreSQL + pkgver = r72.378a440 + pkgrel = 1 + url = https://github.com/petere/pguint + arch = i686 + arch = x86_64 + license = unknown + depends = postgresql + provides = postgresql-uint + conflicts = postgresql-uint + source = postgresql-uint-git::git+https://github.com/petere/pguint + sha256sums = SKIP + +pkgname = postgresql-uint-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a8a6ef0a1d14 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.* +*~ +/postgresql-uint-git +*.pkg.tar.xz +*.src.tar.gz +!.git* +!.mailmap +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bed9f4f49a6e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Graham Edgecombe <gpe@grahamedgecombe.com> +pkgname=postgresql-uint-git +pkgver=r72.378a440 +pkgrel=1 +pkgdesc="Unsigned integer types extension for PostgreSQL" +arch=('i686' 'x86_64') +url="https://github.com/petere/pguint" +license=('unknown') +depends=('postgresql') +conflicts=('postgresql-uint') +provides=('postgresql-uint') +source=("$pkgname"::'git+https://github.com/petere/pguint') +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir/" install +} |