summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAleksey Filippov2015-08-13 17:55:09 +0400
committerAleksey Filippov2015-08-13 17:55:09 +0400
commit4fcd796d80498ac5a012622b1931d607423a7a9a (patch)
tree7f566ab427e6c2ba586a21ac28691cfc3e3a1c72 /PKGBUILD
parent96558558c0ecff7beb959c98ac1793347eb73bdf (diff)
downloadaur-4fcd796d80498ac5a012622b1931d607423a7a9a.tar.gz
Aleksey Filippov <sarum9in@gmail.com> became maintainer.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ded12be4d2f..0482c2d37fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,3 +1,6 @@
+# Maintainer: Aleksey Filippov <sarum9in@gmail.com>
+# Contributor: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>
+
pkgname=cppdb
pkgver=0.3.1
pkgrel=1
@@ -14,19 +17,19 @@ source=("http://sourceforge.net/projects/cppcms/files/cppdb/$pkgver/cppdb-$pkgve
sha256sums=('d60eef5a732d8f84ef5e4a2845a8cefc543a6c75bf3782589c2cf6aa150b992e')
build() {
- rm -rf "$srcdir/cppdb-build"
- mkdir -p "$srcdir/cppdb-build"
- cd "$srcdir/cppdb-build"
-
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/cppdb-$pkgver"
- make
+ rm -rf "$srcdir/cppdb-build"
+ mkdir -p "$srcdir/cppdb-build"
+ cd "$srcdir/cppdb-build"
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/cppdb-$pkgver"
+ make
}
package() {
- cd "$srcdir/cppdb-build"
- make DESTDIR="$pkgdir" install
-
- cd "$srcdir/cppdb-$pkgver"
- install -Dm644 "LICENSE_1_0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_1_0.txt"
- install -Dm644 "MIT.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT.txt"
+ cd "$srcdir/cppdb-build"
+ make DESTDIR="$pkgdir" install
+
+ cd "$srcdir/cppdb-$pkgver"
+ install -Dm644 "LICENSE_1_0.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE_1_0.txt"
+ install -Dm644 "MIT.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT.txt"
}