blob: 2aafba7208fce0eae09d22d215eeceaeab1f1ba9 (
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
|
# Maintainer: Joey Miller <maintainer at joeeey dot com>
pkgname=eversticky
pkgver=0.95.0
pkgrel=1
pkgdesc="A sticky note client that sync to Evernote."
arch=('x86_64')
url="https://eversticky.joeeey.com"
license=('GPL3' 'MIT')
depends=("qt5-webengine>=5.12.2" "qt5-x11extras>=5.12.2" )
conflicts=("eversticky")
replaces=("eversticky")
source=("https://github.com/itsmejoeeey/eversticky/releases/download/v${pkgver}/${pkgname}_${pkgver}-${pkgrel}_amd64.deb")
sha256sums=('fa14a88e01c8e640b0b44867d942ce160aaa290a96c65642c833f58d907ae982')
package() {
echo " -> Extracting the installer..."
# Extract binary and icons from data.tar.xz
bsdtar -xf data.tar.xz -C "${pkgdir}/"
# Extract license information from control.tar.xz
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
bsdtar -xf control.tar.xz -C "${pkgdir}/usr/share/licenses/${pkgname}" ./copyright
mv "${pkgdir}/usr/share/licenses/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Fix permissions
find "${pkgdir}" -type d -exec chmod 755 {} \;
chmod 755 "${pkgdir}/usr/bin/${pkgname}"
}
|