summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 22 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a4ca751749d..f5d8c01c024 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
-# $Id: $
-# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-pkgname="qirssi"
-pkgver="20090305"
-pkgrel=1
+pkgname=qirssi
+pkgver=20090305
+pkgrel=2
pkgdesc="A Qt trayicon and notifier for irssi"
url="http://code.google.com/p/qirssi"
arch=('i686' 'x86_64')
license=('BSD')
-depends=('qt' 'irssi' 'screen')
-source=("http://qirssi.googlecode.com/files/$pkgname-$pkgver.tar.gz" LICENSE)
-md5sums=('96ff164721d6b293e37f0dffdcfa43f2'
- '1c2fd6de6283a135030535a6c753c023')
+depends=('qt4' 'irssi' 'screen')
+source=(http://qirssi.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+md5sums=('96ff164721d6b293e37f0dffdcfa43f2')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- qmake qirssi.pro || return 1
- make || return 1
+ cd "${srcdir}"/$pkgname-$pkgver
- install -Dsm755 qirssi "${pkgdir}/usr/bin/qirssi" || return 1
- install -Dm644 qirssi.pl "${pkgdir}/usr/share/irssi/scripts/qirssi.pl" || return 1
- install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ qmake-qt4 qirssi.pro
+ make
}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ install -Dsm755 qirssi "${pkgdir}"/usr/bin/qirssi
+ install -Dm644 qirssi.pl "${pkgdir}"/usr/share/irssi/scripts/qirssi.pl
+
+#license
+ install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ sed '1,14p;d' qirssi.pl > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+} \ No newline at end of file