summaryrefslogtreecommitdiff
path: root/community/fatsort/PKGBUILD
blob: b256fc6b7043d0d67a6e5f08715992b4b2407aa3 (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
# $Id: PKGBUILD 109044 2014-04-09 19:27:36Z anatolik $
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: birdflesh <antkoul at gmail dot com>
# Contributor: Natan Vivo <nvivo64_gmail_com>
# Contributor: rabyte <rabyte*gmail>
# Contributor: Simon Morgan <simon@16hz.net>

pkgname=fatsort
pkgver=1.3.365
pkgrel=1
pkgdesc='Sorts directory structures of FAT16 and FAT32 file systems'
arch=(i686 x86_64)
url='http://fatsort.sourceforge.net'
license=(GPL)
depends=(glibc)
makedepends=(help2man)
#checkdepends=(dosfstools bbe)
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('77acc374b189e80e3d75d3508f3c0ca559f8030f1c220f7cfde719a4adb03f3d')

build() {
  cd $pkgname-$pkgver
  make
}

check() {
  cd $pkgname-$pkgver
  # the tests require sudo so we cannot use it in a clean environment build
  # make tests
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" SBINDIR=/usr/bin MANDIR=/usr/share/man/man1 install
}