blob: 1952ecdaa27f4f45332a8a10370422b34c208e68 (
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
41
42
43
44
45
46
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ms-sys
pkgver=2.4.0
pkgrel=0
pkgdesc="A tool for creating Microsoft compatible boot records"
url="http://ms-sys.sourceforge.net/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev linux-headers"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/ms-sys/ms-sys-$pkgver.tar.gz
nls.patch"
_builddir="$srcdir"/ms-sys-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr NLS=no || return 1
}
package() {
cd "$_builddir"
make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" NLS=no \
install || return 1
rm -rf "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/share/locale
}
md5sums="6742dd1a058b1ce32cb991853d9d6bec ms-sys-2.4.0.tar.gz
e99ecd149e6e83a60647dbb96409b949 nls.patch"
sha256sums="afcfefb52350f632bbd4671c3f97df09e42a60d0de3e56d42682450c7ebf689e ms-sys-2.4.0.tar.gz
0cde6bb2fbe958380b2cd058095da3b6da690d9462909a4acf867dab9e19d6e8 nls.patch"
sha512sums="17e2496d2e4815180b9f33fa0f206953fb3484e01c115a2e67d110fb04d421be7e694a434d991a7518579eadb9dce4e907dbd849dbaf6fb506758c425faa14ec ms-sys-2.4.0.tar.gz
02115f778a74cc8b048872d437745e1b9c272b3c3597dc180ffa9fd6a977bf97d0744bc18ebc4a2ce08942f2ec94a96cda2f85d36289140d53e32aa20f8b75ee nls.patch"
|