blob: 1ec3b68ffdd24460a1da5e96c053bcff5b0e9eec (
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
33
34
35
36
37
|
#Maintainer: Direct-A <songyicheng0@gmail.com>
pkgname=cutepeaks-git
_up_pkgname=CutePeaks
pkgver=0.2.3
pkgrel=2
pkgdesc="A simple viewer for Sanger sequencing files"
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/labsquare/CutePeaks"
makedepends=('qt5-base' 'qt5-charts' 'make')
optdepends=('qt5-svg: ouput svg support')
conflicts=('cutepeaks')
source=("git+${url}")
sha256sums=('SKIP')
qmake=`whereis qmake | cut -d " " -f 2`
prepare() {
cd "${srcdir}/${_up_pkgname}"
sed -i "s|desktop.path.*|target.path = ${pkgdir}/usr/share/applications/|g" src/src.pro
sed -i "s|icons.path.*|target.path = ${pkgdir}/usr/share/icons/hicolor/64x64/apps/|g" src/src.pro
sed -i "s|target.path.*|target.path = ${pkgdir}/usr/bin|g" src/src.pro
sed -i "s|PREFIX = /usr|PREFIX = ${pkgdir}/usr|g" ${pkgname%-*}.pro
}
build() {
cd "${srcdir}/${_up_pkgname}"
$qmake --version
$qmake
make
}
package() {
cd "${srcdir}/${_up_pkgname}"
make install
}
|