blob: f2680966fda09d0039e8503aee61aa3fe5411e47 (
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
38
39
40
|
# Maintainer: kostyalamer < kostyalamer@yandex.ru >
# Contributor: kostyalamer
pkgname=montirovka
pkgver=0.1
pkgrel=2
pkgdesc="Special script for IceArch distro to mounting or umounting partitions "
arch=('x86_64')
url="https://icearch.forumotion.eu/"
license=('GPL2')
depends=(
'coreutils' 'grep' 'gawk' 'bc' 'sed' 'util-linux'
'reiserfsprogs' 'exfat-utils' 'ntfs-3g' 'xfsprogs' 'filesystem'
)
source=("http://altlinuxclub.ru/arhiv/${pkgname}-${pkgver}.tar.gz")
md5sums=('f88740419c62606e0641fcd6c73c5d59')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cat > $pkgname.desktop <<@@@
[Desktop Entry]
Type=Application
Name=Montirovka
Icon=/usr/share/icons/gnome/48x48/devices/drive-harddisk.png
TryExec=montirovka
Exec=montirovka
Terminal=true
Categories=System;Filesystem;
@@@
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -pDm755 $pkgname $pkgdir/usr/bin/$pkgname
install -pDm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}
|