summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 22:26:38 +0100
committerJaroslav Lichtblau2014-11-29 22:26:38 +0100
commitb38fcb60b3fecd6b1d856ffac3ae682783e1daa2 (patch)
tree312bd4f7b75ebca01139d91530ff986817856ec3
parent3a3bb5da12abd5b556521446ccfe8ae39b2055c6 (diff)
downloadaur-b38fcb60b3fecd6b1d856ffac3ae682783e1daa2.tar.gz
lostirc-0.4.6-3
-rw-r--r--PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index effac88f74c..28c138598ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,22 +9,26 @@ url="http://lostirc.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'gtkmm' 'libsigc++')
makedepends=('patch')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-$pkgver-gcc.diff)
md5sums=('501cd56bc0740d599540fb415718b939'
'5ac26f2e3beaa233b350de2cf8330923')
-build() {
- cd ${srcdir}/$pkgname-$pkgver
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ patch -Np0 -i "${srcdir}"/$pkgname-$pkgver-gcc.diff
+}
- patch -Np0 -i ${srcdir}/$pkgname-$pkgver-gcc.diff
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}"/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
}