blob: 6e84ce82facf5225e987e9de79e897269fd2289b (
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
|
# Maintainer: spider-mario <spidermario@free.fr>
# Contributor: shirokuro <tod dot jackson at gmail dot com>
# Contributor: giovanni
pkgname=hd2u
pkgver=1.0.4
pkgrel=1
pkgdesc="Dos2Unix text file converter"
arch=('i686' 'x86_64')
license=('GPL')
url="http://hany.sk/~hany/software/hd2u/"
depends=('popt')
conflicts=('dos2unix')
source=("http://hany.sk/~hany/_data/hd2u/$pkgname-$pkgver.tgz" 'always-false.patch')
sha512sums=('ea3d952257b29c5e3540622535ed62b8b17481a50ea3e6ed4a42c40d419b10b6c78c233697e4f1838fc90d5fdab2607bbffa1a2c90f260904c32e321cd42a871'
'fa27ae64ce75fd73ef18207bc46ca8cbdeea66d0d6f3b342d52dbe14a63c23e2c9839bf026382e0c42084a00835235c49039097843b79c2764fe8889a6090ce9')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 < ../always-false.patch
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make BUILD_ROOT="$pkgdir" install
}
|