Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 11b2f7c

Browse files
committed
add PKGBUILD for archlinux (build & install master branch)
0 parents  commit 11b2f7c

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

master/archlinux/.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ignore everything
2+
*
3+
!.gitignore
4+
5+
# except PKGBUILD needed files
6+
!PKGBUILD
7+
!*.install
8+
!ChangeLog
9+
10+
# common wing-man files
11+
!*.diff
12+
!*.patch

master/archlinux/PKGBUILD

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Maintainer: Dmitry Ivanov <ivadmi5@gmail.com>
2+
pkgname=pg_pathman-git
3+
pkgver=r336.40c2a42
4+
pkgrel=1
5+
pkgdesc="pg_pathman - partitioning tool for PostgreSQL"
6+
arch=('i686' 'x86_64')
7+
url="https://github.com/postgrespro/pg_pathman"
8+
license=('custom:PostgreSQL')
9+
depends=('postgresql')
10+
conflicts=('pg_pathman')
11+
provides=('pg_pathman')
12+
source=("$pkgname"::'git+https://github.com/postgrespro/pg_pathman')
13+
makedepends=('git')
14+
sha256sums=('SKIP')
15+
16+
pkgver() {
17+
cd "$pkgname"
18+
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
19+
}
20+
21+
build() {
22+
cd "$pkgname"
23+
make USE_PGXS=1
24+
}
25+
26+
package() {
27+
cd "$pkgname"
28+
make DESTDIR="$pkgdir/" USE_PGXS=1 install
29+
}

0 commit comments

Comments
 (0)