blob: 76e91e9cf02aa7593022a2d5798352f09ba3e17f (
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
|
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
_pkgname=flemozi
pkgname=$_pkgname-bin
pkgdesc="An advanced Emoji Picker written with Flutter (binary release)"
pkgver=0.2.0
pkgrel=1
arch=('x86_64')
url="https://github.com/KRTirtho/flemozi"
license=('GPL3')
depends=('libkeybinder3' 'xdg-user-dirs')
conflicts=($_pkgname)
provides=($_pkgname)
source=("$_pkgname-$pkgver-linux-x86_64.rpm::$url/releases/download/v$pkgver/Flemozi-linux-x86_64.rpm")
sha256sums=('e16ef7cc8024b29a321fab90d1573792c7d7fce504c92c4c32b45e701b597209')
package() {
# Create folders
mkdir -p "$pkgdir/opt" "$pkgdir/usr/bin"
# Install
mv usr/share/$_pkgname "$pkgdir/opt"
ln -s /opt/$_pkgname/$_pkgname -t "$pkgdir/usr/bin"
install -Dm644 usr/share/pixmaps/$_pkgname.png -t "$pkgdir/usr/share/pixmaps"
install -Dm644 usr/share/applications/$_pkgname.desktop -t "$pkgdir/usr/share/applications"
install -Dm644 $pkgdir/opt/$_pkgname/data/flutter_assets/assets/logo.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg"
}
|