Re: Mime backup program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/10/2012 03:08 AM, Leonidas Spyropoulos wrote:
> Hey Squall,
>
> I took the opportunity and created a small very simple PKGBUILD for
> your application. I assume it doesn't depend on something special.
> Also the package name will have to change and this will affect the
> PKGBUILD as well.
>
> When you move to git you will also have to change the PKGBUILD.
>
> This is the first time I make a PKGBUILD file so if someone notice
> something wrong please let me know.
>
> # PKGBUILD for mime backup tool
> # Contributor: Leonidas Spyropoulos <leonidas at spyropoulos dot eu>
> pkgname=mime
> pkgver=2.0.0
> pkgrel=1
> pkgdesc="Mime is a command line backup program written in Python"
> arch=('i686' 'x86_64')
since it's a python app, arch should be 'any'
>
> url="http://http://code.google.com/p/mime-backup/";
There's a double http:// :P
>
> license=('GPL3')
> depends=('python2')
> source=(http://mime-backup.googlecode.com/files/$pkgname-$pkgver.tar.gz)
> md5sums=('9f6c3a33bffde6126b7a7bd85d38e7c5')
>
> build() {
>     cd $startdir/src/$pkgname-$pkgver
>     chmod 644 $startdir/src/$pkgname-$pkgver/mime.conf.sample
>     python2 setup.py install --root=$pkgdir || return 1
|| return 1 is not needed any more, pacman handles it. Rename startdir
to srcdir.
Also it's a good practice to place brackets {} around pkgdir and srcdir,
or place the whole path in double quotes.
>
> }
>
> What do you think?
>
>



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux