summaryrefslogtreecommitdiff
path: root/pcr/postsrsd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-28 10:13:29 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-28 10:13:29 -0300
commit1f1c232541ccc261b8484cc4d72039b36ba323d2 (patch)
tree592d11e61d2cee9f429741177b5d5a2a107a96c0 /pcr/postsrsd
parent051321090b2f7c869cf26fea237dbc37e1922bfc (diff)
downloadabslibre-1f1c232541ccc261b8484cc4d72039b36ba323d2.tar.gz
abslibre-1f1c232541ccc261b8484cc4d72039b36ba323d2.tar.bz2
abslibre-1f1c232541ccc261b8484cc4d72039b36ba323d2.zip
postsrsd again
Diffstat (limited to 'pcr/postsrsd')
-rw-r--r--pcr/postsrsd/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/pcr/postsrsd/PKGBUILD b/pcr/postsrsd/PKGBUILD
index d42ed0ccb..d377f36ad 100644
--- a/pcr/postsrsd/PKGBUILD
+++ b/pcr/postsrsd/PKGBUILD
@@ -16,16 +16,20 @@ source=('https://github.com/roehling/postsrsd/archive/1.1.tar.gz' 'postsrsd.serv
md5sums=('5cde2c2ae7046347f5e17aef2ea8a4a8'
'64f31e8914f5063297371d36f699302d')
-build() {
+prepare() {
cd "$srcdir/${pkgname}-${pkgver}"
mkdir build
+}
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF
make all
}
package() {
- cd "$srcdir/postsrsd/build"
+ cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR="$pkgdir/" install
rm -rf $pkgdir/usr/lib