summaryrefslogtreecommitdiff
path: root/community/percona-server/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/percona-server/PKGBUILD')
-rw-r--r--community/percona-server/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD
index cadb09300..7466e57c2 100644
--- a/community/percona-server/PKGBUILD
+++ b/community/percona-server/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 71873 2012-06-02 15:23:50Z mtorromeo $
+# $Id: PKGBUILD 73641 2012-07-12 13:35:50Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=percona-server
pkgver=5.5.24_rel26.0
-pkgrel=1
+pkgrel=3
pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server"
arch=('i686' 'x86_64')
@@ -20,7 +20,10 @@ backup=('etc/mysql/my.cnf')
install=percona.install
source=("http://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-${pkgver/_rel/-}/source/Percona-Server-${pkgver/_/-}.tar.gz"
'mysqld'
- 'my.cnf')
+ 'my.cnf'
+ 'mysqld-post'
+ 'mysqld.service'
+ 'tmpfiles.conf')
build() {
cd "${srcdir}/Percona-Server-${pkgver/_/-}"
@@ -97,8 +100,15 @@ package() {
rm "${pkgdir}"/usr/share/man/man1/mysql-test-run.pl.1
install -dm700 "${pkgdir}"/var/lib/mysql
+
+ install -Dm644 "$srcdir/tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/mysqld.conf"
+ install -Dm644 "$srcdir/mysqld.service" "$pkgdir/usr/lib/systemd/system/mysqld.service"
+ install -Dm755 "$srcdir/mysqld-post" "$pkgdir/usr/bin/mysqld-post"
}
md5sums=('76f835e98ad3c71fcaa33794ee187630'
'243864805611764a7e5883c1dba7afd8'
- '1c949c0dbea5206af0db14942d9927b6')
+ '1c949c0dbea5206af0db14942d9927b6'
+ '5143dadeaac15f1ff88ea16716588554'
+ 'e2e21a54c1aa1d6ab83a3dd0629aac52'
+ '7af72b49f943bd52defce8bc4e804e64')