Skip to content

Commit

Permalink
mobile-broadband-provider 20130731, move to git build, lots of commit…
Browse files Browse the repository at this point in the history
…s, no tag for over a year, move live files to kdeos name, adding kdeos-hardware-detection
  • Loading branch information
KdeOs committed Jul 31, 2013
1 parent 8a0ca57 commit 0d85953
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 6 deletions.
29 changes: 29 additions & 0 deletions kdeos-hardware-detection/PKGBUILD
@@ -0,0 +1,29 @@

pkgname=kdeos-hardware-detection
pkgver=20130731
pkgrel=1
pkgdesc="Hardware detection scripts"
arch=('x86_64')
url="http://www.kde-os.tk"
depends=('bc' 'util-linux' 'chd-nvidia' 'dmidecode')
license=('GPL')
source=("hardware-detection.tar.xz")
md5sums=('5e3c68b7a7b1cca05acdc7aaad861375')

# create tarball: source PKGBUILD && mksource

mksource() {
rm -vRf ${pkgname}-${pkgver}
git clone git://github.com/KdeOs/${pkgname}.git ${pkgname}-${pkgver}
rm -vRf ${pkgname}-${pkgver}/.git*
pushd ${pkgname}-${pkgver}
popd
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
md5sum ${pkgname}-${pkgver}.tar.xz
}

package(){
cd "${srcdir}/hardware-detection"

make install DESTDIR="${pkgdir}"
}
14 changes: 8 additions & 6 deletions mobile-broadband-provider-info/PKGBUILD
@@ -1,23 +1,25 @@

pkgname=mobile-broadband-provider-info
pkgver=20120614
pkgver=20130731
pkgrel=1
pkgdesc="Network Management daemon"
arch=('x86_64')
license=('other')
url="http://git.gnome.org/browse/mobile-broadband-provider-info/"
source=("http://ftp.gnome.org/pub/GNOME/sources/mobile-broadband-provider-info/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('dfa66a77ce27071b0882e2f822eecde5')
makedepends=('git')
source=("git://git.gnome.org/mobile-broadband-provider-info#branch=master")
md5sums=('SKIP')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"

cd "${srcdir}/${pkgname}"

./autogen.sh
./configure --prefix=/usr
make
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}"

make DESTDIR="${pkgdir}" install
}

0 comments on commit 0d85953

Please sign in to comment.