summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0d10c2fdb2aaf2ca5fb5d45ad1a000628751726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Anonymous

pkgname=loiq
pkgver=0.3.1a
pkgrel=5
pkgdesc="Low Orbit Ion Cannon - Qt Edition"
url='http://sourceforge.net/projects/loiq'
arch=('x86_64' 'i686')
source=("http://downloads.sourceforge.net/project/salix-sbo/13.37/loiq/${pkgname}-${pkgver}.tar.bz2")
license=('GPL')
depends=('qt5-base')
md5sums=('74bf705cb96dd2929b02a92bab3e0140')
sha1sums=('a6661fc1b25de36e473bf01823796bc74fe64648')

prepare() {
  cd "loiq-${pkgver}"

  sed -e 's|TARGET =|TARGET = loiq|g' \
      -e 's|network|widgets network|g' \
      -i "loiq.pro"
  make  clean
}

build() {
  cd  "loiq-${pkgver}"
  qmake-qt5
  make
}

package() {
  install -Dm755 "loiq-${pkgver}/loiq" "${pkgdir}/usr/bin/loiq"
}