summaryrefslogblamecommitdiff
path: root/user/featherpad/APKBUILD
blob: c43f1b2dc53b1a3ac49adacdd6f43bf25d224b46 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
                  
             



                                          
                                  

                  
                                                                             
                                            
                           


                                                                                               
                                     

         
             








                                                                                                 


                                                       
                                                                                                                                                                      
                                                                                                                                                      
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=featherpad
pkgver=0.15.0
pkgrel=0
pkgdesc="Featureful Qt-based text editor"
url="https://github.com/tsujan/FeatherPad"
arch="all"
options="!check"  # No test suite.
license="GPL-3.0+"
depends=""
makedepends="qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev
	hunspell-dev libx11-dev libxext-dev"
subpackages="$pkgname-lang"
source="FeatherPad-$pkgver.tar.gz::https://github.com/tsujan/FeatherPad/archive/V$pkgver.tar.gz
	hunspell-link.patch
	"
builddir="$srcdir/FeatherPad-$pkgver"

build() {
	qmake
	make PREFIX=/usr
}

lang() {
	mkdir -p "$subpkgdir"/usr/share/$pkgname
	mv "$pkgdir"/usr/share/$pkgname/translations "$subpkgdir"/usr/share/$pkgname/translations
}

package() {
	make INSTALL_ROOT="$pkgdir" PREFIX=/usr install
}

sha512sums="8cac212e8110c1b39342e7bc85f3677f662058c1f78babe8006cdbced966a8dc403132522050a84f2aa043881310f9171caff0d5cc23a95f1dbf01f274cd86e8  FeatherPad-0.15.0.tar.gz
471714eec9a376b138cc4c6c7b7d1339c9767091309c95b11ef2a8536250c796367b1544dca9610cc10babdbd08ac1436784d71292680b9da90e681dd855aaf0  hunspell-link.patch"