blob: a55d219e0f4f19d47a5cfb552b7a4bd9ecab6897 (
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
47
48
49
50
51
52
53
54
55
|
# Maintainer (AUR): Jochen Schalanda <jochen+aur@schalanda.name>
# Contributor (AUR): Thomas Dziedzic <gostrc@gmail>
# Contributor (AUR): Chris Giles <Chris.G.27@gmail.com>
# Contributor (AUR): seblu <seblu+arch@seblu.net>
# Contributor (AUR): squiddo <squiddo@intheocean.net>
# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
_debrepo=http://ftp.debian.org/debian/pool/main/ # Debian Sid
debfile() { echo -n "$_debrepo"; echo -n "$@"|sed -r 's@(.).*@\1/&@'; }
# TODO: split into (dpkg dpkg-devtools dselect dpkg-perl)
pkgname=dpkg
pkgver=1.16.4.3
pkgrel=1
pkgdesc="The Debian Package Manager and utilities. Don't use it instead of 'pacman'."
arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/${pkgname}"
license=('GPL2')
depends=('bzip2' 'perl-timedate')
makedepends=('gcc' 'make' 'patch')
optdepends=('fakeroot')
replaces=(dpkg-ubuntu)
conflits=(dpkg-ubuntu)
source=(`debfile ${pkgname}`/${pkgname}_${pkgver}.tar.bz2
dpkg-rsyncable.patch dpkg-arch.patch)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/dpkg-rsyncable.patch"
patch -p1 -i "${srcdir}/dpkg-arch.patch" # Architecture detection
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--without-start-stop-daemon
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Variables
install -d "${pkgdir}/var/${pkgname}/updates/"
touch "${pkgdir}/var/lib/${pkgname}/{status,available}"
}
md5sums=('629ba7ee2024e6a5c0ff807aa2db02f8'
'bc36609f6191c5b509fae58c21966c95'
'24ab12e79989a2e7f31653fb1dd3cdf9')
md5sums=('39c74a948c6fe4c02ed9f15556fe179d'
'bc36609f6191c5b509fae58c21966c95'
'24ab12e79989a2e7f31653fb1dd3cdf9')
md5sums=('39c74a948c6fe4c02ed9f15556fe179d'
'bc36609f6191c5b509fae58c21966c95'
'24ab12e79989a2e7f31653fb1dd3cdf9')
|