diff options
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3bbdfc8f54ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = mintstick + pkgdesc = A GUI to write .img or .iso files to a USB Key. It can also format them + pkgver = 1.3.8 + pkgrel = 1 + url = http://packages.linuxmint.com/pool/main/m/mintstick + arch = any + license = GPL + makedepends = gettext + depends = coreutils + depends = dosfstools + depends = e2fsprogs + depends = exfat-utils + depends = glib2 + depends = gtk3 + depends = ntfs-3g + depends = parted + depends = polkit + depends = procps-ng + depends = python + depends = python2 + depends = udisks2 + depends = util-linux + depends = xapps + conflicts = mintstick-git + source = mintstick-1.3.8.tar.xz::http://packages.linuxmint.com/pool/main/m/mintstick/mintstick_1.3.8.tar.xz + sha256sums = 4fffcaa6d8484b67e82148061140aa87f1386194c4e9f01bf2c30e4a20ccab04 + +pkgname = mintstick + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0dbfef8c4eda --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Sam Burgos < sam dot burgos1089 at gmail dot com > + +pkgname=mintstick +pkgver=1.3.8 +pkgrel=1 +pkgdesc="A GUI to write .img or .iso files to a USB Key. It can also format them" +arch=('any') +url="http://packages.linuxmint.com/pool/main/m/${pkgname}" +license=('GPL') +depends=('coreutils' + 'dosfstools' + 'e2fsprogs' + 'exfat-utils' + 'glib2' + 'gtk3' + 'ntfs-3g' + 'parted' + 'polkit' + 'procps-ng' + 'python' + 'python2' + 'udisks2' + 'util-linux' + 'xapps') +makedepends=('gettext') +conflicts=("mintstick-git") +source=("${pkgname}-${pkgver}.tar.xz::${url}/${pkgname}_${pkgver}.tar.xz") +sha256sums=('4fffcaa6d8484b67e82148061140aa87f1386194c4e9f01bf2c30e4a20ccab04') + +prepare() { + cd ${pkgname} + ## https://wiki.archlinux.org/index.php/Arch_packaging_standards#Directories + sed -i 's| /usr| "'$pkgdir'"/usr|g' install.sh + + ## Removing all instances of KDE4, since Linux Mint KDE Edition is no longer available + rm -rf 'share/kde4' +} + +package() { + cd ${pkgname} + + ## Creating the directories to copy the files + install -d "$pkgdir/usr/bin" + install -d "$pkgdir/usr/share/applications" + install -d "$pkgdir/usr/share/polkit-1/actions" + cp -rp share/nemo "$pkgdir/usr/share" + + ## install.sh script is the one who contains all the installation process + ./install.sh +} |